From daccd0d379fd95ae1d41605a439537b05a9ac819 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 13 Jul 2014 21:56:57 +0000 Subject: Fix bug where edges would not update when nodes are moved after the canvas is cleared. (Fix stuck connections in Patchage after refresh). git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5412 a436a847-0d15-0410-975c-d299462d15a1 --- src/Canvas.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/Canvas.cpp b/src/Canvas.cpp index 47b0013..c01021c 100644 --- a/src/Canvas.cpp +++ b/src/Canvas.cpp @@ -2464,6 +2464,7 @@ ganv_canvas_clear(GanvCanvas* canvas) gtk_object_destroy(GTK_OBJECT(*i)); } canvas->impl->_edges.clear(); + canvas->impl->_dst_edges.clear(); canvas->impl->_selected_ports.clear(); canvas->impl->_connect_port = NULL; -- cgit v1.2.1