mirror of
https://github.com/lalbornoz/roar.git
synced 2024-11-26 16:56:37 +00:00
libgui/GuiFrame.py:onMenu(): clear event queue after calling command function.
This commit is contained in:
parent
31babe1994
commit
270a19ea40
@ -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