Add automatic index rebuild (#975)

* Rebuild the index automatically if not all files are in the index on open
* Update tests
This commit is contained in:
Veronica Berglyd Olsen
2022-01-25 17:41:34 +01:00
committed by GitHub
parent 1a9efa4e1e
commit 85ea9f5b19
6 changed files with 48 additions and 42 deletions
+1 -2
View File
@@ -550,8 +550,7 @@ class GuiMain(QMainWindow):
), nwAlert.WARN)
self.rebuildIndex()
# Make sure the changed status is set to false on all that was
# just opened
# Make sure the changed status is set to false on things opened
qApp.processEvents()
self.docEditor.setDocumentChanged(False)
self.theProject.setProjectChanged(False)