mirror of
https://github.com/lalbornoz/roar.git
synced 2024-11-22 07:16:38 +00:00
libgui/GuiFrame.py:onMenu(): clear event queue after calling command function.
This commit is contained in:
parent
bdc8bcd494
commit
0e4915351e
@ -168,7 +168,7 @@ class GuiFrame(wx.Frame):
|
|||||||
def onMenu(self, event):
|
def onMenu(self, event):
|
||||||
eventId = event.GetId()
|
eventId = event.GetId()
|
||||||
if eventId in self.itemsById:
|
if eventId in self.itemsById:
|
||||||
self.itemsById[eventId](event)
|
self.itemsById[eventId](event); wx.SafeYield();
|
||||||
else:
|
else:
|
||||||
event.Skip()
|
event.Skip()
|
||||||
# }}}
|
# }}}
|
||||||
|
Loading…
Reference in New Issue
Block a user