mirror of
https://github.com/onionshare/onionshare.git
synced 2025-03-14 01:46:28 -04:00
Hide the system tray icon before closing
This commit is contained in:
parent
94e2f4997c
commit
a946420646
@ -540,6 +540,7 @@ class OnionShareGui(QtWidgets.QMainWindow):
|
||||
|
||||
def closeEvent(self, e):
|
||||
self.common.log('OnionShareGui', 'closeEvent')
|
||||
self.system_tray.hide()
|
||||
try:
|
||||
if self.mode == OnionShareGui.MODE_SHARE:
|
||||
server_status = self.share_mode.server_status
|
||||
|
Loading…
x
Reference in New Issue
Block a user