From d31536d69b6972c2834c390689fa05f8b118c0e9 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 28 Feb 2015 10:16:06 +0000 Subject: Clear selected edges list along with selection. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5610 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 4db5576..0adc78a 100644 --- a/src/Canvas.cpp +++ b/src/Canvas.cpp @@ -2155,6 +2155,7 @@ ganv_canvas_clear_selection(GanvCanvas* canvas) } GanvCanvasImpl::SelectedEdges edges(canvas->impl->_selected_edges); + canvas->impl->_selected_edges.clear(); FOREACH_SELECTED_EDGE(edges, c) { ganv_item_set(GANV_ITEM(*c), "selected", FALSE, NULL); } -- cgit v1.2.1