mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
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:
parent
8221a56c7d
commit
8ae88eb10a
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue