summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/PatchageEvent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PatchageEvent.cpp b/src/PatchageEvent.cpp
index a30ea57..bee95ba 100644
--- a/src/PatchageEvent.cpp
+++ b/src/PatchageEvent.cpp
@@ -106,7 +106,7 @@ PatchageEvent::execute(Patchage* patchage)
patchage->error_msg((format("Unable to find port `%1%' to disconnect")
% _port_2).str());
else
- patchage->canvas()->remove_edge(port_1, port_2);
+ patchage->canvas()->remove_edge_between(port_1, port_2);
}
}