wizard: set next_button focus

This commit is contained in:
ThomasV 2016-08-28 10:47:12 +02:00
parent f98d1f43b4
commit 8cb6ba992a
1 changed files with 2 additions and 0 deletions

View File

@ -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_()