summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/GraphCanvas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/GraphCanvas.cpp b/src/gui/GraphCanvas.cpp
index f2a23f9f..e04baa5e 100644
--- a/src/gui/GraphCanvas.cpp
+++ b/src/gui/GraphCanvas.cpp
@@ -382,7 +382,7 @@ GraphCanvas::disconnection(SPtr<const ArcModel> arc)
Ganv::Port* const dst = get_port_view(arc->head());
if (src && dst) {
- remove_edge(src, dst);
+ remove_edge_between(src, dst);
} else {
_app.log().error(fmt("Unable to find ports to disconnect %1% => %2%\n")
% arc->tail_path() % arc->head_path());