Skip to content

Commit

Permalink
Corrections in exit logic if not hide in tray
Browse files Browse the repository at this point in the history
  • Loading branch information
smallcms committed Jun 30, 2022
1 parent fc3227f commit ae1aeb8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions infinitrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,15 @@ def closeEvent(self, event):
QSystemTrayIcon.Information,
10000
)
else:
event.accept()
print("quit")
#app.quit()
del self.web
del self.tray_icon
quit()
print("sys quit")
sys.exit(app.exec_())

#Show settings window
def show_settings_window(self):
Expand Down

0 comments on commit ae1aeb8

Please sign in to comment.