From 4d398f170de3ed85301b412b03c004e4fb49196c Mon Sep 17 00:00:00 2001 From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com> Date: Sun, 14 Sep 2025 19:42:36 +0200 Subject: [PATCH] Add back attribute lost when merging --- novelwriter/gui/doceditor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/novelwriter/gui/doceditor.py b/novelwriter/gui/doceditor.py index d35cb6b4..c6773f24 100644 --- a/novelwriter/gui/doceditor.py +++ b/novelwriter/gui/doceditor.py @@ -2079,6 +2079,7 @@ class CommandCompleter(QMenu): def __init__(self, parent: QWidget) -> None: super().__init__(parent=parent) + self._parent = parent def updateMetaText(self, text: str, pos: int) -> bool: """Update the menu options based on the line of text."""