Updater dialog: make "yes" the default button

Fixes #507
This commit is contained in:
deeplow 2023-08-08 12:42:59 +01:00
parent 5143103b96
commit e512ba2b6a
No known key found for this signature in database
GPG key ID: 577982871529A52A

View file

@ -72,6 +72,7 @@ class UpdateCheckPrompt(Alert):
assert self.cancel_button is not None
buttons_layout.addWidget(self.cancel_button)
buttons_layout.addWidget(self.ok_button)
self.ok_button.setDefault(True)
return buttons_layout