# HG changeset patch # User David Anderson # Date 1182030125 0 # Node ID f0231833e6ec5e658ebcc6bedda308dedf2c6b9d # Parent c7b58176316c2dff26c7cc965a99ec1d8b2e5ea6 fixed bug amb402 diff -r c7b58176316c -r f0231833e6ec core/MenuStyle_Base.cpp --- a/core/MenuStyle_Base.cpp Sat Jun 16 19:06:48 2007 +0000 +++ b/core/MenuStyle_Base.cpp Sat Jun 16 21:42:05 2007 +0000 @@ -598,6 +598,11 @@ return; } + if (m_pVoteHandler && m_pVoteHandler->IsVoteInProgress()) + { + m_pVoteHandler->CancelVoting(); + } + m_bCancelling = true; Cancel_Finally(); m_bCancelling = false;