mirror of
https://github.com/lutris/lutris
synced 2024-10-06 07:50:16 +00:00
Run the sync setting change through on_setting_change.
This way the settings-changed signal will fire, which I need for the notification bar.
This commit is contained in:
parent
99f0e1b352
commit
bf7dcdf1a7
|
@ -202,8 +202,8 @@ class AccountsBox(BaseConfigBox):
|
|||
)
|
||||
if sync_warn_dialog.result == Gtk.ResponseType.YES:
|
||||
AsyncCall(sync_local_library, None)
|
||||
settings.write_setting("library_sync_enabled", state)
|
||||
else:
|
||||
settings.write_setting("library_sync_enabled", state)
|
||||
else:
|
||||
return
|
||||
|
||||
self.on_setting_change(switch, state, "library_sync_enabled")
|
||||
self.sync_frame.set_visible(state)
|
||||
|
|
Loading…
Reference in a new issue