fully worked around bug in Qt

This commit is contained in:
Brennen Raimer
2019-05-25 12:27:18 -04:00
parent fdf8e7d0a2
commit d8bd206856
2 changed files with 14 additions and 4 deletions
@@ -41,6 +41,7 @@ class InstallerWizard(QtWidgets.QWizard):
self.install_location.inputRejected.connect(self.install_location.clear)
except AttributeError:
pass #inputRejected signal added in Qt 5.12, I have 5.9
self.button(self.BackButton).clicked.connect(lambda x: self._location_validator.reset_state())
self.install_location.setValidator(self._location_validator)
self.location_page.registerField("Location*", self.install_location)
self.browse_button.clicked.connect(self._select_location)