Browse Source

avoid exit from systray prematurely

tags/v0.9.0
Roland Schwarz 8 years ago
parent
commit
51e29d0295
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/cadence.py

+ 1
- 0
src/cadence.py View File

@@ -2325,6 +2325,7 @@ if __name__ == '__main__':
if "--minimized" in app.arguments(): if "--minimized" in app.arguments():
gui.hide() gui.hide()
gui.systray.setActionText("show", gui.tr("Restore")) gui.systray.setActionText("show", gui.tr("Restore"))
app.setQuitOnLastWindowClosed(False)
else: else:
gui.show() gui.show()




Loading…
Cancel
Save