From 0f8bd14d3487c35280c33bbfd133dd9e37c8f07e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 28 Nov 2020 15:58:38 +0100 Subject: Index clients and ports by ID --- src/PatchageEvent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/PatchageEvent.cpp') diff --git a/src/PatchageEvent.cpp b/src/PatchageEvent.cpp index 353bb16..0896b49 100644 --- a/src/PatchageEvent.cpp +++ b/src/PatchageEvent.cpp @@ -57,7 +57,7 @@ public: void operator()(const ClientDestructionEvent& event) { - _patchage.canvas()->remove_module(event.name); + _patchage.canvas()->remove_module(event.id); } void operator()(const PortCreationEvent& event) -- cgit v1.2.1