Update src/qt/menuitem.cpp
Co-Authored-By: evileye-uk <evileye@telperion.co.uk>
This commit is contained in:
@@ -165,6 +165,7 @@ void wxQtAction::onActionTriggered( bool checked )
|
||||
{
|
||||
wxMenuItem *handler = GetHandler();
|
||||
wxMenu *menu = handler->GetMenu();
|
||||
if(handler->IsCheckable()) handler->Check(checked);
|
||||
if ( handler->IsCheckable() )
|
||||
handler->Check(checked);
|
||||
menu->SendEvent( handler->GetId(), handler->IsCheckable() ? checked : -1 );
|
||||
}
|
||||
|
Reference in New Issue
Block a user