summaryrefslogtreecommitdiffstats
path: root/src/PatchageEvent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/PatchageEvent.cpp')
-rw-r--r--src/PatchageEvent.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/PatchageEvent.cpp b/src/PatchageEvent.cpp
index 520b136..11e56f7 100644
--- a/src/PatchageEvent.cpp
+++ b/src/PatchageEvent.cpp
@@ -96,8 +96,7 @@ PatchageEvent::execute(Patchage* patchage)
// No empty modules (for now)
if (module->num_ports() == 0) {
- if (!patchage->canvas()->remove_item(module))
- Raul::error << "Failed to remove module `" << module->name() << "'" << endl;
+ patchage->canvas()->remove_item(module)
module.reset();
} else {
patchage->enqueue_resize(module);