diff options
author | Micah Lee <micah@micahflee.com> | 2019-09-20 18:42:40 -0700 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2019-09-20 18:42:40 -0700 |
commit | 2022b2b2aff404d13d25c0fce806eeaf40873f56 (patch) | |
tree | 7fc73ff4b7986c12dc6334a5bb6448c8042ec38e | |
parent | e21bf3e80b46ef19aebd0588b90d501f32e432e5 (diff) | |
download | onionshare-2022b2b2aff404d13d25c0fce806eeaf40873f56.tar.gz onionshare-2022b2b2aff404d13d25c0fce806eeaf40873f56.zip |
Hide the system tray icon before closing
-rw-r--r-- | onionshare_gui/onionshare_gui.py | 1 |
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 |