mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-20 15:20:30 -04:00
Rename mode_settings_widget to be more clear, and fix one place that was still using tab_settings
This commit is contained in:
parent
9534a44051
commit
c426cfceb2
5 changed files with 9 additions and 7 deletions
|
@ -496,7 +496,7 @@ class Tab(QtWidgets.QWidget):
|
|||
if self.mode is None:
|
||||
return True
|
||||
|
||||
if self.tab_settings["persistent"]["enabled"]:
|
||||
if self.mode_settings.get("persistent", "enabled"):
|
||||
dialog_text = strings._("gui_close_tab_warning_persistent_description")
|
||||
else:
|
||||
server_status = self.get_mode().server_status
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue