Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/pr/195'
Browse files Browse the repository at this point in the history
* origin/pr/195:
  Don't cancel updates on Esc
  • Loading branch information
marmarek committed May 17, 2024
2 parents c4b5ee7 + b73f474 commit 8e3e8a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qui/updater/updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,8 @@ def cancel_updates(self, *_args, **_kwargs):

def check_escape(self, _widget, event, _data=None):
if event.keyval == Gdk.KEY_Escape:
self.window_close()
if self.intro_page.is_visible or self.summary_page.is_visible:
self.window_close()

def window_close(self, *_args, **_kwargs):
self.log.debug("Close window")
Expand Down

0 comments on commit 8e3e8a6

Please sign in to comment.