Skip to content

Commit

Permalink
updater: set progress as 100 if update fails or was cancelled
Browse files Browse the repository at this point in the history
(cherry picked from commit f92e565)
  • Loading branch information
piotrbartman authored and marmarek committed Jul 5, 2024
1 parent 8dbe4cc commit 27792ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions qui/updater/progress_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@ def handle_err_line(self, untrusted_line, rows):
try:
if status == "done":
update_status = UpdateStatus.from_name(info)
GLib.idle_add(rows[name].set_update_progress, 100)
GLib.idle_add(rows[name].set_status, update_status)
except KeyError:
return
Expand Down

0 comments on commit 27792ef

Please sign in to comment.