some cleanup

This commit is contained in:
Brennen Raimer
2019-05-06 23:37:00 -04:00
parent 9280a7b7cf
commit ea96dd3669
2 changed files with 4 additions and 6 deletions
@@ -84,11 +84,11 @@ class InstallerWizard(QtWidgets.QWizard):
break
else:
dialog_location = Path.home()
selected_location = QtWidgets.QFileDialog.getExistingDirectory(parent=self,caption="Select Location",
directory=str(dialog_location),
options=(QtWidgets.QFileDialog.ShowDirsOnly))
self.install_location.clear()
self.install_location.insert(selected_location)
self.install_location.setText(selected_location)
def _requirements_check(self):
"""Checks that the minimum system requirements are met. Opens error message and resets the wizard if they are not.