From 0e4915351ed8a6089d6698acc98fbed208d353a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Sat, 14 Sep 2019 15:20:20 +0200 Subject: [PATCH] libgui/GuiFrame.py:onMenu(): clear event queue after calling command function. --- libgui/GuiFrame.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgui/GuiFrame.py b/libgui/GuiFrame.py index 4758595..af410f0 100644 --- a/libgui/GuiFrame.py +++ b/libgui/GuiFrame.py @@ -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() # }}}