Refresh novel view on count method change

This commit is contained in:
Veronica Berglyd Olsen
2025-04-29 23:45:05 +02:00
parent 53e60c7b59
commit 6d2e9d8a04
4 changed files with 15 additions and 7 deletions
+3 -1
View File
@@ -1048,8 +1048,10 @@ class GuiMain(QMainWindow):
self.initMain()
self.saveDocument()
if tree:
if tree and not theme:
# These are also updated by a theme refresh
SHARED.project.tree.refreshAllItems()
self.novelView.refreshCurrentTree()
if theme:
SHARED.theme.loadTheme()