diff options
author | Micah Lee <micah@micahflee.com> | 2019-09-22 12:57:46 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-22 12:57:46 -0700 |
commit | e2b6eecf3488aa02747e25dc886837226719913d (patch) | |
tree | 99575724d792dd3b8a1e51cdf42d822ee1cb838f | |
parent | 26f24906731139834ca2bdadfe79cdfd07dd354f (diff) | |
parent | 2022b2b2aff404d13d25c0fce806eeaf40873f56 (diff) | |
download | onionshare-e2b6eecf3488aa02747e25dc886837226719913d.tar.gz onionshare-e2b6eecf3488aa02747e25dc886837226719913d.zip |
Merge pull request #1034 from micahflee/932_windows_systray_icon
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 |