summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2019-09-20 18:42:40 -0700
committerMicah Lee <micah@micahflee.com>2019-09-20 18:42:40 -0700
commit2022b2b2aff404d13d25c0fce806eeaf40873f56 (patch)
tree7fc73ff4b7986c12dc6334a5bb6448c8042ec38e
parente21bf3e80b46ef19aebd0588b90d501f32e432e5 (diff)
downloadonionshare-2022b2b2aff404d13d25c0fce806eeaf40873f56.tar.gz
onionshare-2022b2b2aff404d13d25c0fce806eeaf40873f56.zip
Hide the system tray icon before closing
-rw-r--r--onionshare_gui/onionshare_gui.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/onionshare_gui/onionshare_gui.py b/onionshare_gui/onionshare_gui.py
index 8e77efe4..6406023f 100644
--- a/onionshare_gui/onionshare_gui.py
+++ b/onionshare_gui/onionshare_gui.py
@@ -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