Commit 236cfaa4 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[widgets][assetwidget] Add parent to QMenu

parent 9afc8722
......@@ -161,7 +161,7 @@ class AssetWidget(QWidget):
layout.addWidget(self.asset_name_label)
layout.addWidget(self.tab_widget)
edit_menu = QMenu()
edit_menu = QMenu(self)
self.edit_code_action = edit_menu.addAction(self.tr("Code"))
self.edit_documentation_action = edit_menu.addAction(self.tr("Documentation"))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment