Update PythonWrapper.cpp

.
This commit is contained in:
Andrea
2025-03-02 17:52:08 +01:00
parent da66720d3a
commit 5f6f2d04ad
2 changed files with 4 additions and 7 deletions

View File

@@ -176,6 +176,7 @@ void TaskFemConstraint::createDeleteAction(QListWidget* parentList)
// display shortcut behind the context menu entry
deleteAction->setShortcutVisibleInContextMenu(true);
parentList->addAction(deleteAction);
parentList->setContextMenuPolicy(Qt::ActionsContextMenu);
}