summaryrefslogtreecommitdiffstats
path: root/src/PatchageEvent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/PatchageEvent.cpp')
-rw-r--r--src/PatchageEvent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PatchageEvent.cpp b/src/PatchageEvent.cpp
index b6cd6e1..bbe85e7 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_connection(port_1, port_2);
+ patchage->canvas()->remove_edge(port_1, port_2);
}
}