Update novel tree menu processing and fix issue with reaload of document

This commit is contained in:
Veronica Berglyd Olsen
2022-06-15 16:14:28 +02:00
parent 538b722bdf
commit 3a061eec3f
6 changed files with 110 additions and 92 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ def testGuiOutline_Main(qtbot, monkeypatch, nwGUI, fncDir):
# Check focus
with monkeypatch.context() as mp:
mp.setattr(QWidget, "hasFocus", lambda *a: True)
assert outlineView.treeFocus() is True
assert outlineView.treeHasFocus() is True
outlineView.setTreeFocus() # Can't check. just ensures that it doesn't error