core/MenuStyle_Base.cpp
changeset 959 f0231833e6ec
parent 884 a5f3239cef1a
child 970 b47becc0083d
     1.1 --- a/core/MenuStyle_Base.cpp	Sat Jun 16 19:06:48 2007 +0000
     1.2 +++ b/core/MenuStyle_Base.cpp	Sat Jun 16 21:42:05 2007 +0000
     1.3 @@ -598,6 +598,11 @@
     1.4  		return;
     1.5  	}
     1.6  
     1.7 +	if (m_pVoteHandler && m_pVoteHandler->IsVoteInProgress())
     1.8 +	{
     1.9 +		m_pVoteHandler->CancelVoting();
    1.10 +	}
    1.11 +
    1.12  	m_bCancelling = true;
    1.13  	Cancel_Finally();
    1.14  	m_bCancelling = false;