nodeview: set drop_edge to null after placement
Fixes segfault placing more than one node.
This commit is contained in:
@@ -251,6 +251,8 @@ void NodeView::mousePressEvent(QMouseEvent *event)
|
||||
|
||||
Core::instance()->undo_stack()->push(command);
|
||||
}
|
||||
|
||||
drop_edge_ = nullptr;
|
||||
}
|
||||
|
||||
QGraphicsView::mousePressEvent(event);
|
||||
|
||||
Reference in New Issue
Block a user