Fixed the save button of project settings dialog, and setting the window title after saving settings

This commit is contained in:
Veronica K. B. Olsen
2019-05-03 21:59:49 +02:00
parent 116150ef01
commit 2ed9f11716
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -86,6 +86,7 @@ class GuiProjectEditor(QDialog):
self.theProject.setProjectName(projName)
self.theProject.setBookTitle(bookTitle)
self.theProject.setBookAuthors(bookAuthors)
self.close()
return
def _doClose(self):
+1
View File
@@ -206,6 +206,7 @@ class GuiMain(QMainWindow):
def editProjectDialog(self):
dlgProj = GuiProjectEditor(self, self.theProject)
dlgProj.exec_()
self._setWindowTitle(self.theProject.projName)
return True
##