diff --git a/src/gui/main.py b/src/gui/main.py index cacbf5ec..b718ac54 100644 --- a/src/gui/main.py +++ b/src/gui/main.py @@ -58,7 +58,7 @@ class mainFrame(wx.Frame): # Application menu app = wx.Menu() switch_account = app.Append(wx.NewId(), _(u"S&witch account")) - self.Bind(wx.EVT_MENU, self.switch_account) + self.Bind(wx.EVT_MENU, self.switch_account, switch_account) updateProfile = app.Append(wx.NewId(), _(u"&Update profile")) self.Bind(wx.EVT_MENU, self.update_profile, updateProfile) show_hide = app.Append(wx.NewId(), _(u"&Hide window"))