From c6802adbaef2bac7443539a1757b767c8659f1c4 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 1 Mar 2024 16:42:11 +0100 Subject: [PATCH] qt wizard: set focus on next_button --- electrum/gui/qt/wizard/wizard.py | 1 + 1 file changed, 1 insertion(+) diff --git a/electrum/gui/qt/wizard/wizard.py b/electrum/gui/qt/wizard/wizard.py index bad04a32d..b0ca3fe6c 100644 --- a/electrum/gui/qt/wizard/wizard.py +++ b/electrum/gui/qt/wizard/wizard.py @@ -126,6 +126,7 @@ class QEAbstractWizard(QDialog, MessageBoxMixin): self.load_next_component(viewstate.view, viewstate.wizard_data, viewstate.params) # TODO: re-test if needed on macOS self.refresh_gui() # Need for QT on MacOSX. Lame. + self.next_button.setFocus() # setDefault() is not enough def refresh_gui(self): # For some reason, to refresh the GUI this needs to be called twice