Rename mode_settings_widget to be more clear, and fix one place that was still using tab_settings

This commit is contained in:
Micah Lee 2019-11-02 11:43:05 -07:00
parent 9534a44051
commit c426cfceb2
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
5 changed files with 9 additions and 7 deletions

View file

@ -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