@@ -4607,9 +4607,7 class BasicWindow(QMainWindow, Ui_BasicWindow): | |||
|
4607 | 4607 | |
|
4608 | 4608 | projectObjLoad = Project() |
|
4609 | 4609 | |
|
4610 | try: | |
|
4611 | projectObjLoad.readXml(filename) | |
|
4612 | except: | |
|
4610 | if not projectObjLoad.readXml(filename): | |
|
4613 | 4611 | self.console.clear() |
|
4614 | 4612 | self.console.append("The selected xml file could not be loaded ...") |
|
4615 | 4613 | return 0 |
General Comments 0
You need to be logged in to leave comments.
Login now