Skip to content

Commit

Permalink
nodevaluetree: fix obvious mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmattkc committed Jun 15, 2023
1 parent 12b5d38 commit 3c947df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/widget/nodevaluetree/nodevaluetree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ void NodeValueTree::RadioButtonChecked(bool e)

NodeOutput old_output = input.GetConnectedOutput2();
MultiUndoCommand *command = new MultiUndoCommand();
command->add_child(new NodeEdgeAddCommand(old_output, input));
command->add_child(new NodeEdgeRemoveCommand(old_output, input));

old_output.set_output(tag);
command->add_child(new NodeEdgeAddCommand(old_output, input));
Expand Down

0 comments on commit 3c947df

Please sign in to comment.