Skip to content

Commit

Permalink
[ui] Collapse and Expand for loop are not allowed for Compatibility N…
Browse files Browse the repository at this point in the history
…odes
  • Loading branch information
Just-Kiel committed Aug 20, 2024
1 parent 71ea1b8 commit 08a0919
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions meshroom/ui/qml/GraphEditor/GraphEditor.qml
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,7 @@ Item {
property bool canExpand: edgeMenu.currentEdge && edgeMenu.forLoop

visible: edgeMenu.currentEdge && edgeMenu.forLoop && canExpand
enabled: edgeMenu.currentEdge && !edgeMenu.currentEdge.dst.node.locked && !edgeMenu.currentEdge.dst.isReadOnly
font.pointSize: 13
ToolTip.text: "Expand"
text: MaterialIcons.open_in_full
Expand All @@ -467,6 +468,7 @@ Item {
id: collapseButton

visible: edgeMenu.currentEdge && edgeMenu.forLoop && !expandButton.canExpand
enabled: edgeMenu.currentEdge && !edgeMenu.currentEdge.dst.node.locked && !edgeMenu.currentEdge.dst.isReadOnly
font.pointSize: 13
ToolTip.text: "Collapse"
text: MaterialIcons.close_fullscreen
Expand Down

0 comments on commit 08a0919

Please sign in to comment.