Make sure all QMenu instances have a parent widget set (#1536)
This commit is contained in:
@@ -1121,7 +1121,7 @@ class GuiDocEditor(QTextEdit):
|
||||
userSelection = userCursor.hasSelection()
|
||||
posCursor = self.cursorForPosition(thePos)
|
||||
|
||||
mnuContext = QMenu()
|
||||
mnuContext = QMenu(self)
|
||||
|
||||
# Follow, Cut, Copy and Paste
|
||||
# ===========================
|
||||
|
||||
Reference in New Issue
Block a user