Commit e6f4f9df authored by Keegi's avatar Keegi

attempt to get button popup to work on mac

parent 45df5ba1
......@@ -707,7 +707,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
self.cbuttons_reload()
def editbutton(self,e):
if e.ButtonUp(wx.MOUSE_BTN_RIGHT):
if e.ButtonUp(wx.MOUSE_BTN_RIGHT) or (e.ButtonUp(wx.MOUSE_BTN_LEFT) and (e.AltDown() or e.ControlDown())):
pos = e.GetPosition()
popupmenu = wx.Menu()
obj = e.GetEventObject()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment