Refresh novel view on count method change
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user