1
0
mirror of https://github.com/lutris/lutris synced 2024-07-08 19:45:47 +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:
Daniel Johnson 2024-03-07 19:18:48 -05:00
parent 99f0e1b352
commit bf7dcdf1a7

View File

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