summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gui/GraphCanvas.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/GraphCanvas.cpp b/src/gui/GraphCanvas.cpp
index 13b17bdf..40a0c675 100644
--- a/src/gui/GraphCanvas.cpp
+++ b/src/gui/GraphCanvas.cpp
@@ -600,8 +600,11 @@ void
GraphCanvas::destroy_selection()
{
_app.interface()->bundle_begin();
+
+ // TODO: Refine this to not destroy arcs that will be anyway?
for_each_selected_edge(destroy_arc, &_app);
for_each_selected_node(destroy_node, &_app);
+
_app.interface()->bundle_end();
}