From 8cb6ba992aa2d013fa63692f24b5cb47a4c8abee Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sun, 28 Aug 2016 10:47:12 +0200 Subject: [PATCH] wizard: set next_button focus --- gui/qt/installwizard.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py index b7f593791..6fd197e7f 100644 --- 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_()