mirror of
https://github.com/onionshare/onionshare.git
synced 2025-06-12 08:43:08 -04:00
Hide the system tray icon before closing
This commit is contained in:
parent
e21bf3e80b
commit
2022b2b2af
1 changed files with 1 additions and 0 deletions
|
@ -540,6 +540,7 @@ class OnionShareGui(QtWidgets.QMainWindow):
|
||||||
|
|
||||||
def closeEvent(self, e):
|
def closeEvent(self, e):
|
||||||
self.common.log('OnionShareGui', 'closeEvent')
|
self.common.log('OnionShareGui', 'closeEvent')
|
||||||
|
self.system_tray.hide()
|
||||||
try:
|
try:
|
||||||
if self.mode == OnionShareGui.MODE_SHARE:
|
if self.mode == OnionShareGui.MODE_SHARE:
|
||||||
server_status = self.share_mode.server_status
|
server_status = self.share_mode.server_status
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue