Make some minor code fixes

This commit is contained in:
Veronica Berglyd Olsen committed 2022-11-10 17:04:12 +01:00
1 parent bbc5be0075
commit f556fde848
2 files changed
+1 -1

No files matched your search

-1
View File
@@ -77,7 +77,6 @@ class GuiProjectLoad(QDialog):
self.setWindowTitle(self.tr("Open Project"))
self.setMinimumWidth(self.mainConf.pxInt(650))
self.setMinimumHeight(self.mainConf.pxInt(400))
self.setModal(True)
self.nwIcon = QLabel()
self.nwIcon.setPixmap(self.mainGui.mainTheme.getPixmap("novelwriter", (nPx, nPx)))
+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)