mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-10 11:47:27 -03:00
Put the title and persistent options at the top of the options widget, above mode-specific options
This commit is contained in:
parent
3c85a8dae1
commit
6772431220
2 changed files with 3 additions and 2 deletions
|
@ -171,9 +171,9 @@ class ModeSettingsWidget(QtWidgets.QWidget):
|
|||
self.advanced_widget.hide()
|
||||
|
||||
layout = QtWidgets.QVBoxLayout()
|
||||
layout.addLayout(self.mode_specific_layout)
|
||||
layout.addLayout(title_layout)
|
||||
layout.addWidget(self.persistent_checkbox)
|
||||
layout.addLayout(self.mode_specific_layout)
|
||||
layout.addWidget(self.public_checkbox)
|
||||
layout.addWidget(self.advanced_widget)
|
||||
layout.addWidget(self.toggle_advanced_button)
|
||||
|
|
|
@ -178,7 +178,8 @@ class TabWidget(QtWidgets.QTabWidget):
|
|||
tab.init(mode_settings)
|
||||
|
||||
# Make sure the title is set
|
||||
tab.get_mode().mode_settings_widget.title_editing_finished()
|
||||
if tab.get_mode():
|
||||
tab.get_mode().mode_settings_widget.title_editing_finished()
|
||||
|
||||
# If it's persistent, set the persistent image in the tab
|
||||
self.change_persistent(tab.tab_id, tab.settings.get("persistent", "enabled"))
|
||||
|
|
Loading…
Reference in a new issue