Fix custom buttons
parent
8979ec888a
commit
77376bc17c
|
@ -963,7 +963,7 @@ class PronterWindow(MainWindow, pronsole.pronsole):
|
|||
if wx.GetKeyState(wx.WXK_CONTROL) or wx.GetKeyState(wx.WXK_ALT):
|
||||
return self.editbutton(e)
|
||||
self.cur_button = e.GetEventObject().custombutton
|
||||
self.onecmd(e.GetEventObject().properties[1])
|
||||
self.onecmd(e.GetEventObject().properties.command)
|
||||
self.cur_button = None
|
||||
except:
|
||||
print _("event object missing")
|
||||
|
|
Loading…
Reference in New Issue