mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-22 13:36:31 +02:00
[ui] GraphEditor: fix delete key issue
This commit is contained in:
parent
ff7f8b3e36
commit
041cb8b81a
2 changed files with 3 additions and 1 deletions
|
@ -420,6 +420,8 @@ Item {
|
|||
onExited: uigraph.hoveredNode = null
|
||||
|
||||
Keys.onDeletePressed: {
|
||||
if(node.locked)
|
||||
return
|
||||
if(event.modifiers == Qt.AltModifier)
|
||||
uigraph.removeNodesFrom(node)
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue