diff options
author | David Robillard <d@drobilla.net> | 2020-02-26 21:22:38 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-02-26 21:22:38 +0100 |
commit | 41d130d1f049a46e95dab6c0823faa4f72603044 (patch) | |
tree | 797ecea6b26da3e38b29a076f1625b49964a1104 | |
parent | c77d41979f795224e8a10bee355ef1a8b734ed48 (diff) | |
download | ingen-41d130d1f049a46e95dab6c0823faa4f72603044.tar.gz ingen-41d130d1f049a46e95dab6c0823faa4f72603044.tar.bz2 ingen-41d130d1f049a46e95dab6c0823faa4f72603044.zip |
Add note about redundant arc deletion when deleting a selection
-rw-r--r-- | src/gui/GraphCanvas.cpp | 3 |
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(); } |