Clear statusbar on new project, and change colors of saved indicators on light desktop

This commit is contained in:
Veronica K. B. Olsen
2021-01-15 19:27:19 +01:00
parent 053c2eb379
commit ecb9e92c48
4 changed files with 9 additions and 8 deletions
+6 -1
View File
@@ -258,6 +258,7 @@ class GuiMain(QMainWindow):
# Work Area
self.docEditor.clearEditor()
self.docEditor.setDictionaries()
self.closeDocViewer()
self.projMeta.clearDetails()
@@ -312,8 +313,12 @@ class GuiMain(QMainWindow):
self.rebuildTree()
self.saveProject()
self.hasProject = True
self.statusBar.setRefTime(self.theProject.projOpened)
self.docEditor.setDictionaries()
self.rebuildIndex(beQuiet=True)
self.statusBar.setRefTime(self.theProject.projOpened)
self.statusBar.setProjectStatus(True)
self.statusBar.setDocumentStatus(None)
self.statusBar.setStatus("New project created ...")
self._updateWindowTitle(self.theProject.projName)
else:
self.theProject.clearProject()