mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-05 20:31:56 +02:00
[ui] GraphEditor: only display "Submit" in node menu if available
This commit is contained in:
parent
3317bb3d40
commit
b50f9fb44d
1 changed files with 2 additions and 0 deletions
|
@ -264,6 +264,8 @@ Item {
|
|||
MenuItem {
|
||||
text: "Submit"
|
||||
enabled: !root.readOnly && nodeMenu.canComputeNode
|
||||
visible: uigraph.canSubmit
|
||||
height: visible ? implicitHeight : 0
|
||||
onTriggered: uigraph.submit(nodeMenu.currentNode)
|
||||
}
|
||||
MenuItem {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue