Merge branch 'main' into dev

This commit is contained in:
Veronica K. B. Olsen
2021-02-06 14:03:22 +01:00
9 changed files with 71 additions and 56 deletions
+8
View File
@@ -817,6 +817,14 @@ class GuiMain(QMainWindow):
self.novelView.refreshTree()
return
def requestNovelTreeRefresh(self):
"""Update the novel tree, but only if it is visible.
"""
if self.projTabs.currentIndex() == self.idxNovelView and self.hasProject:
self.novelView.refreshTree()
return True
return False
def rebuildIndex(self, beQuiet=False):
"""Rebuild the entire index.
"""