mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-08 01:15:00 -04:00
Closing the GUI window causes any current download to stop immediately (fixes #262)
This commit is contained in:
parent
f5496ba20c
commit
7b8e9e1e6f
2 changed files with 22 additions and 0 deletions
|
@ -243,6 +243,9 @@ class OnionShareGui(QtWidgets.QMainWindow):
|
|||
"""
|
||||
self.status_bar.clearMessage()
|
||||
|
||||
def closeEvent(self, e):
|
||||
self.stop_server()
|
||||
|
||||
|
||||
def alert(msg, icon=QtWidgets.QMessageBox.NoIcon):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue