forked from Wobbl/Wobuzz
Added functionality to the save button.
This commit is contained in:
parent
ab018494e9
commit
7c6566e9a1
2 changed files with 5 additions and 4 deletions
|
@ -10,9 +10,10 @@ class Settings:
|
|||
self.connect()
|
||||
|
||||
def connect(self):
|
||||
self.settings.file_settings.library_path_input.returnPressed.connect(self.write_settings)
|
||||
self.settings.visibilityChanged.connect(self.update_all)
|
||||
self.settings.save_button.pressed.connect(self.write_settings)
|
||||
|
||||
def update_all(self):
|
||||
def update_all(self, settings_visible: bool=True):
|
||||
self.settings.file_settings.library_path_input.setText(self.app.settings.library_path)
|
||||
|
||||
def update_settings(self, key, value):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue