Skip to content

Commit c22e40f

Browse files
committed
[GraphEditor] Add "Retry Error Tasks" menu to match NodeActions
1 parent 1222ec5 commit c22e40f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

meshroom/ui/qml/GraphEditor/GraphEditor.qml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -711,6 +711,13 @@ Item {
711711
height: visible ? implicitHeight : 0
712712
onTriggered: uigraph.cancelNodeComputation(nodeMenu.currentNode)
713713
}
714+
MenuItem {
715+
text: "Retry Error Tasks"
716+
enabled: nodeMenu.currentNode.globalExecMode == "EXTERN" && ["ERROR", "STOPPED", "KILLED"].includes(nodeMenu.currentNode.globalStatus)
717+
visible: enabled
718+
height: visible ? implicitHeight : 0
719+
onTriggered: uigraph.restartJobErrorTasks(nodeMenu.currentNode)
720+
}
714721
MenuItem {
715722
text: "Open Folder"
716723
visible: nodeMenu.currentNode.isComputableType

0 commit comments

Comments
 (0)