Browse Source

wizard: set next_button focus

283
ThomasV 9 years ago
parent
commit
8cb6ba992a
  1. 2
      gui/qt/installwizard.py

2
gui/qt/installwizard.py

@ -223,6 +223,8 @@ class InstallWizard(QDialog, MessageBoxMixin, BaseWizard):
self.main_widget.setLayout(layout) self.main_widget.setLayout(layout)
self.back_button.setEnabled(True) self.back_button.setEnabled(True)
self.next_button.setEnabled(next_enabled) self.next_button.setEnabled(next_enabled)
if next_enabled:
self.next_button.setFocus()
self.main_widget.setVisible(True) self.main_widget.setVisible(True)
self.please_wait.setVisible(False) self.please_wait.setVisible(False)
result = self.loop.exec_() result = self.loop.exec_()

Loading…
Cancel
Save