Browse Source

Fix trayicon hide show context menu

master
Nils 4 years ago
parent
commit
b0c10cdcf0
  1. 3
      qtgui/systemtray.py

3
qtgui/systemtray.py

@ -61,8 +61,7 @@ class SystemTray(QtWidgets.QSystemTrayIcon):
nsmSessionName = api.currentSession()
_add(QtCore.QCoreApplication.translate("TrayIcon", "Hide/Show Argodejo"), self.mainWindow.toggleVisible)
_add(QtCore.QCoreApplication.translate("TrayIcon", "Hide/Show Argodejo"), lambda: self.mainWindow.toggleVisible(force=None)) #explicit force=None because the qt signal is sending a bool
menu.addSeparator()
#Add other pre-defined actions

Loading…
Cancel
Save