Update PythonWrapper.cpp

.
This commit is contained in:
Andrea
2025-03-02 17:52:08 +01:00
parent 2d4ab5af20
commit 25af2a6d92
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);
}