mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-10 04:14:16 +02:00
[fix][ui] confirmation button is not set as default for all desktop environments
This commit is contained in:
@@ -45,6 +45,7 @@ def ask_confirmation(title: str, body: str, i18n: I18n, icon: QIcon = QIcon(reso
|
||||
|
||||
bt_yes = diag.addButton(i18n['popup.button.yes'], QMessageBox.YesRole)
|
||||
bt_yes.setStyleSheet(css.OK_BUTTON)
|
||||
diag.setDefaultButton(bt_yes)
|
||||
|
||||
diag.addButton(i18n['popup.button.no'], QMessageBox.NoRole)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user