Pressing enter, spacebar or mouse left click should show window if it's not visible

This commit is contained in:
jmdaweb 2014-11-27 17:31:10 +01:00
parent 75bfc17bb1
commit 60507e8f6b

View File

@ -55,7 +55,7 @@ class SysTrayIcon(wx.TaskBarIcon):
if (self.frame.showing): if (self.frame.showing):
self.frame.SetFocus() self.frame.SetFocus()
else: else:
self.frame.onShow_hide() self.frame.show_hide()
def Destroy(self): def Destroy(self):
self.menu.Destroy() self.menu.Destroy()