diff options
author | David Robillard <d@drobilla.net> | 2015-02-28 10:16:06 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-02-28 10:16:06 +0000 |
commit | d31536d69b6972c2834c390689fa05f8b118c0e9 (patch) | |
tree | 90038a7aef1dc51f9d40eff2e9e6b5cc225afc4c /src | |
parent | b6d023bb640ec955e89bfecd816382169746b979 (diff) | |
download | ganv-d31536d69b6972c2834c390689fa05f8b118c0e9.tar.gz ganv-d31536d69b6972c2834c390689fa05f8b118c0e9.tar.bz2 ganv-d31536d69b6972c2834c390689fa05f8b118c0e9.zip |
Clear selected edges list along with selection.
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5610 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/Canvas.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |