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 5b63486..3f03208 100644
--- a/src/PatchageEvent.cpp
+++ b/src/PatchageEvent.cpp
@@ -62,7 +62,7 @@ PatchageEvent::execute(Patchage* patchage)
assert(module);
module->remove_port(port);
- port->hide();
+ port.reset();
// No empty modules (for now)
if (module->num_ports() == 0) {