Refresh novel view on count method change

This commit is contained in:
Veronica Berglyd Olsen committed 2025-04-29 23:45:05 +02:00
1 parent 53e60c7b59
commit 6d2e9d8a04
4 files changed
+15 -7

No files matched your search

+1
View File
@@ -184,6 +184,7 @@ def testGuiMain_UpdateTheme(qtbot, nwGUI):
CONFIG.guiSyntax = "default_dark"
mainTheme.loadTheme()
mainTheme.loadSyntax()
nwGUI._processConfigChanges(False, True, False, False)
nwGUI._processConfigChanges(True, True, True, True)
syntax = SHARED.theme.syntaxTheme
+1 -1
View File
@@ -93,7 +93,7 @@ def testGuiNovelView_Content(qtbot, monkeypatch, nwGUI, projPath, mockRnd):
assert novelTree._getModel() is None
# Reload
novelBar._forceRefreshNovelTree()
novelView.refreshCurrentTree()
model = novelTree._getModel()
assert isinstance(model, NovelModel)