Make some minor code fixes

This commit is contained in:
Veronica Berglyd Olsen
2022-11-10 17:04:12 +01:00
parent bbc5be0075
commit f556fde848
2 changed files with 1 additions and 1 deletions
+1
View File
@@ -872,6 +872,7 @@ class GuiMain(QMainWindow):
"""
dlgProj = GuiProjectLoad(self)
dlgProj.exec_()
if dlgProj.result() == QDialog.Accepted:
if dlgProj.openState == GuiProjectLoad.OPEN_STATE:
self.openProject(dlgProj.openPath)