nodeview: initialize edge item's from/to references

Fixes #1526
This commit is contained in:
itsmattkc
2021-03-23 22:28:21 +11:00
parent f2db17c10f
commit dccea63d97
+3 -1
View File
@@ -47,7 +47,9 @@ NodeViewEdge::NodeViewEdge(const NodeOutput &output, const NodeInput &input,
}
NodeViewEdge::NodeViewEdge(QGraphicsItem *parent) :
QGraphicsPathItem(parent)
QGraphicsPathItem(parent),
from_item_(nullptr),
to_item_(nullptr)
{
Init();
}