Use "heading" consistently on the UI

This commit is contained in:
Veronica Berglyd Olsen
2024-03-03 20:28:36 +01:00
parent 7799e9f253
commit 58a7dc0a5a
17 changed files with 98 additions and 98 deletions
+2 -2
View File
@@ -736,7 +736,7 @@ class GuiMain(QMainWindow):
return False
if tHandle is not None and sTitle is not None:
hItem = SHARED.project.index.getItemHeader(tHandle, sTitle)
hItem = SHARED.project.index.getItemHeading(tHandle, sTitle)
if hItem is not None:
tLine = hItem.line
@@ -1144,7 +1144,7 @@ class GuiMain(QMainWindow):
if tHandle is not None:
if mode == nwDocMode.EDIT:
tLine = None
hItem = SHARED.project.index.getItemHeader(tHandle, sTitle)
hItem = SHARED.project.index.getItemHeading(tHandle, sTitle)
if hItem is not None:
tLine = hItem.line
self.openDocument(tHandle, tLine=tLine, changeFocus=setFocus)