Add attempted fix for Sonoma menu crashes
See https://gitlab.com/kicad/code/kicad/-/issues/16844#note_1767141019
This commit is contained in:
parent
22669bcc4d
commit
d6fb362bd1
|
@ -402,6 +402,14 @@ void ACTION_MENU::OnIdle( wxIdleEvent& event )
|
|||
|
||||
void ACTION_MENU::OnMenuEvent( wxMenuEvent& aEvent )
|
||||
{
|
||||
#ifdef __WXOSX__
|
||||
if( aEvent.GetMenu() != this )
|
||||
{
|
||||
aEvent.Skip();
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
OPT_TOOL_EVENT evt;
|
||||
wxString menuText;
|
||||
wxEventType type = aEvent.GetEventType();
|
||||
|
|
Loading…
Reference in New Issue