twizard: set next_button focus - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 8cb6ba992aa2d013fa63692f24b5cb47a4c8abee DIR parent f98d1f43b474b19a64a06cc9a3bbcf0666347dfa HTML Author: ThomasV <thomasv@electrum.org> Date: Sun, 28 Aug 2016 10:47:12 +0200 wizard: set next_button focus Diffstat: M gui/qt/installwizard.py | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) --- DIR diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py t@@ -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_()