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.setProjectName(projName)
|
||||||
self.theProject.setBookTitle(bookTitle)
|
self.theProject.setBookTitle(bookTitle)
|
||||||
self.theProject.setBookAuthors(bookAuthors)
|
self.theProject.setBookAuthors(bookAuthors)
|
||||||
|
self.close()
|
||||||
return
|
return
|
||||||
|
|
||||||
def _doClose(self):
|
def _doClose(self):
|
||||||
|
|||||||
@@ -206,6 +206,7 @@ class GuiMain(QMainWindow):
|
|||||||
def editProjectDialog(self):
|
def editProjectDialog(self):
|
||||||
dlgProj = GuiProjectEditor(self, self.theProject)
|
dlgProj = GuiProjectEditor(self, self.theProject)
|
||||||
dlgProj.exec_()
|
dlgProj.exec_()
|
||||||
|
self._setWindowTitle(self.theProject.projName)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
##
|
##
|
||||||
|
|||||||
Reference in New Issue
Block a user