commit 8cb6ba992aa2d013fa63692f24b5cb47a4c8abee
parent f98d1f43b474b19a64a06cc9a3bbcf0666347dfa
Author: ThomasV <thomasv@electrum.org>
Date: Sun, 28 Aug 2016 10:47:12 +0200
wizard: set next_button focus
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py
@@ -223,6 +223,8 @@ class InstallWizard(QDialog, MessageBoxMixin, BaseWizard):
self.main_widget.setLayout(layout)
self.back_button.setEnabled(True)
self.next_button.setEnabled(next_enabled)
+ if next_enabled:
+ self.next_button.setFocus()
self.main_widget.setVisible(True)
self.please_wait.setVisible(False)
result = self.loop.exec_()