mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-07 15:29:31 +03:00
Fixed Show and Hide in PopUpMenu.
This commit is contained in:
@@ -655,8 +655,8 @@ void cEETest::MainClick( const cUIEvent * Event ) {
|
||||
const cUIEventMouse * MouseEvent = reinterpret_cast<const cUIEventMouse*> ( Event );
|
||||
|
||||
if ( MouseEvent->Flags() & EE_BUTTON_RMASK ) {
|
||||
Menu->Pos( MouseEvent->Pos() );
|
||||
Menu->Show();
|
||||
if ( Menu->Show() )
|
||||
Menu->Pos( MouseEvent->Pos() );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user