summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Canvas.cpp1
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);
}