Mantis: 983

o releasing mouse2 closes the popup menu ( bug 983 )

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@112 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
puzl 2005-05-13 01:14:01 +00:00
parent c07b28de9d
commit d297f41e6c

View file

@ -351,8 +351,13 @@ void AvHPieMenuHandler::mouseReleased(MouseCode code, Panel* inPanel)
// CenterPrint("AvHPieMenuHandler::mouseReleased.\n");
// ClientCmd("-popupmenu");
// ClosePieMenu();
// puzl : 983 releasing mouse2 closes the popup menu
if ( code == MOUSE_RIGHT )
{
ClientCmd("-popupmenu");
ClosePieMenu();
}
//
// if(code == MOUSE_RIGHT)
// {