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
@@ -381,7 +381,7 @@ class GuiDocViewer(QTextBrowser):
userCursor = self.textCursor()
userSelection = userCursor.hasSelection()
mnuContext = QMenu()
mnuContext = QMenu(self)
# Cut, Copy and Paste
# ===================