mirror of
https://github.com/onionshare/onionshare.git
synced 2025-07-28 09:04:26 -04:00
Fix a few issues related to opening settings and quitting
This commit is contained in:
parent
3052c58d64
commit
9d1bd74fcc
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