Make writing stats and buid dialogs non-modal
This commit is contained in:
+6
-4
@@ -803,16 +803,18 @@ class GuiMain(QMainWindow):
|
|||||||
"""Open the build project dialog.
|
"""Open the build project dialog.
|
||||||
"""
|
"""
|
||||||
if self.hasProject:
|
if self.hasProject:
|
||||||
dlgExport = GuiBuildNovel(self, self.theProject)
|
dlgBuild = GuiBuildNovel(self, self.theProject)
|
||||||
dlgExport.exec_()
|
dlgBuild.setModal(False)
|
||||||
|
dlgBuild.show()
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def showWritingStatsDialog(self):
|
def showWritingStatsDialog(self):
|
||||||
"""Open the session log dialog.
|
"""Open the session log dialog.
|
||||||
"""
|
"""
|
||||||
if self.hasProject:
|
if self.hasProject:
|
||||||
dlgTLine = GuiWritingStats(self, self.theProject)
|
dlgStats = GuiWritingStats(self, self.theProject)
|
||||||
dlgTLine.exec_()
|
dlgStats.setModal(False)
|
||||||
|
dlgStats.show()
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def makeAlert(self, theMessage, theLevel=nwAlert.INFO):
|
def makeAlert(self, theMessage, theLevel=nwAlert.INFO):
|
||||||
|
|||||||
Reference in New Issue
Block a user