[commands] AddNode: resolve link expressions on redo

This commit is contained in:
Yann Lanthony 2017-10-13 10:49:30 +02:00
parent a855a74ae9
commit e4ccef2187

View file

@ -79,6 +79,7 @@ class AddNodeCommand(GraphCommand):
def redoImpl(self):
self.node = self.graph.addNewNode(self.nodeType)
self.setText("Add Node {}".format(self.node.getName()))
self.node._applyExpr()
return True
def undoImpl(self):