mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-07 17:05:16 -04:00
Fix a few issues related to opening settings and quitting
This commit is contained in:
parent
a14464d834
commit
f4e3f92c7b
3 changed files with 13 additions and 13 deletions
|
@ -127,8 +127,9 @@ class TabWidget(QtWidgets.QTabWidget):
|
|||
"""
|
||||
for tab_id in self.tabs:
|
||||
mode = self.tabs[tab_id].get_mode()
|
||||
if mode.server_status.status != mode.server_status.STATUS_STOPPED:
|
||||
return True
|
||||
if mode:
|
||||
if mode.server_status.status != mode.server_status.STATUS_STOPPED:
|
||||
return True
|
||||
return False
|
||||
|
||||
def resizeEvent(self, event):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue