Commit 9b4d33b6 authored by Thomas Vincent's avatar Thomas Vincent
Browse files

fix return value in wizard

parent 6a69002a
......@@ -111,7 +111,7 @@ class LoadXsocsDataPage(_BaseWizardPage):
Qt.QMessageBox.critical(self,
'Failed to open project file.',
str(ex))
return
return False
try:
projectH5.xsocsFile = xsocsFile
......@@ -119,7 +119,7 @@ class LoadXsocsDataPage(_BaseWizardPage):
Qt.QMessageBox.critical(self,
'Failed to set data file.',
str(ex))
return
return False
self.setCommitPage(True)
return True
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment