Make sure all QMenu instances have a parent widget set (#1536)

This commit is contained in:
Veronica Berglyd Olsen
2023-11-04 17:24:43 +01:00
parent ef29571bd9
commit 8abcada86e
6 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -1121,7 +1121,7 @@ class GuiDocEditor(QTextEdit):
userSelection = userCursor.hasSelection()
posCursor = self.cursorForPosition(thePos)
mnuContext = QMenu()
mnuContext = QMenu(self)
# Follow, Cut, Copy and Paste
# ===========================