Fixed the save button of project settings dialog, and setting the window title after saving settings
This commit is contained in:
@@ -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):
|
||||
|
||||
@@ -206,6 +206,7 @@ class GuiMain(QMainWindow):
|
||||
def editProjectDialog(self):
|
||||
dlgProj = GuiProjectEditor(self, self.theProject)
|
||||
dlgProj.exec_()
|
||||
self._setWindowTitle(self.theProject.projName)
|
||||
return True
|
||||
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user