mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-13 00:02:43 +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 {
|
MenuItem {
|
||||||
text: "Submit"
|
text: "Submit"
|
||||||
enabled: !root.readOnly && nodeMenu.canComputeNode
|
enabled: !root.readOnly && nodeMenu.canComputeNode
|
||||||
|
visible: uigraph.canSubmit
|
||||||
|
height: visible ? implicitHeight : 0
|
||||||
onTriggered: uigraph.submit(nodeMenu.currentNode)
|
onTriggered: uigraph.submit(nodeMenu.currentNode)
|
||||||
}
|
}
|
||||||
MenuItem {
|
MenuItem {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue