Ensure updates checkbox updated after updates accepted

Ensure the status of the toggle updates checkbox is updated, after the user is
prompted to enable updates.
This commit is contained in:
deeplow 2023-08-21 14:03:35 +01:00
parent 8221a56c7d
commit 8ae88eb10a
No known key found for this signature in database
GPG key ID: 577982871529A52A

View file

@ -132,6 +132,10 @@ def gui_main(
else:
log.debug("Will not check for updates, based on updater settings")
# Ensure the status of the toggle updates checkbox is updated, after the user is
# prompted to enable updates.
window.toggle_updates_action.setChecked(bool(updater.check))
if filenames:
open_files(filenames)