The recent projects menu now properly repopulates after the order of recent items have changed

This commit is contained in:
Veronica K. B. Olsen
2019-05-03 22:44:41 +02:00
parent 574a4bd63c
commit 7092e20e9c
2 changed files with 14 additions and 7 deletions
+2
View File
@@ -116,6 +116,7 @@ class GuiMain(QMainWindow):
self.treeView.clearTree()
self.theProject.openProject(projFile)
self.treeView.buildTree()
self.mainMenu.updateRecentProjects()
self._setWindowTitle(self.theProject.projName)
return True
@@ -125,6 +126,7 @@ class GuiMain(QMainWindow):
self.theProject.setProjectPath(projPath)
self.treeView.saveTreeOrder()
self.theProject.saveProject()
self.mainMenu.updateRecentProjects()
return True
##