mirror of
https://github.com/lalbornoz/roar.git
synced 2024-11-21 23:06: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):
|
||||
eventId = event.GetId()
|
||||
if eventId in self.itemsById:
|
||||
self.itemsById[eventId](event)
|
||||
self.itemsById[eventId](event); wx.SafeYield();
|
||||
else:
|
||||
event.Skip()
|
||||
# }}}
|
||||
|
Loading…
Reference in New Issue
Block a user