fixed bug where the node remove with exclusive deps command would never run

This commit is contained in:
itsmattkc
2020-01-17 13:56:45 +11:00
parent 0bc176fd62
commit f8f932112c
3 changed files with 2 additions and 4 deletions
+2 -1
View File
@@ -126,7 +126,8 @@ void NodeRemoveCommand::undo()
edges_.clear();
}
NodeRemoveWithExclusiveDeps::NodeRemoveWithExclusiveDeps(NodeGraph *graph, Node *node, QUndoCommand *parent)
NodeRemoveWithExclusiveDeps::NodeRemoveWithExclusiveDeps(NodeGraph *graph, Node *node, QUndoCommand *parent) :
QUndoCommand(parent)
{
QList<Node*> node_and_its_deps;
node_and_its_deps.append(node);