Spell check can now be enabled/disabled and re-run on document

This commit is contained in:
Veronica K. B. Olsen
2019-05-12 16:18:37 +02:00
parent 3ce2bb8a0e
commit fbdff8d249
5 changed files with 86 additions and 23 deletions
+2 -1
View File
@@ -172,10 +172,11 @@ class GuiMain(QMainWindow):
self.treeView.clearTree()
self.theProject.openProject(projFile)
self.treeView.buildTree()
self.mainMenu.updateRecentProjects()
self._setWindowTitle(self.theProject.projName)
self._makeStatusIcons()
self.docEditor.setPwl(path.join(self.theProject.projMeta,"wordlist.txt"))
self.docEditor.setSpellCheck(self.theProject.spellCheck)
self.mainMenu.updateMenu()
return True
def saveProject(self):