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