[ui][panel] not terminating the application when the panel is closed

This commit is contained in:
Vinícius Moreira
2020-02-07 16:18:04 -03:00
parent 94d5a113a1
commit e811c7252a
2 changed files with 4 additions and 2 deletions

View File

@@ -76,7 +76,7 @@ def main():
manager.prepare()
app = QApplication(sys.argv)
app.setQuitOnLastWindowClosed(False)
app.setQuitOnLastWindowClosed(False) # otherwise windows opened through the tray icon kill the aplication when closed
app.setApplicationName(__app_name__)
app.setApplicationVersion(__version__)
app_icon = util.get_default_icon()[1]