diff options
Diffstat (limited to 'src/PatchageCanvas.cpp')
-rw-r--r-- | src/PatchageCanvas.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/PatchageCanvas.cpp b/src/PatchageCanvas.cpp index 279a852..69633c8 100644 --- a/src/PatchageCanvas.cpp +++ b/src/PatchageCanvas.cpp @@ -250,10 +250,9 @@ PatchageCanvas::add_module(const std::string& name, PatchageModule* module) in_module = find_module(name, Output); out_module = module; } + if (in_module && out_module) out_module->set_partner(in_module); - - add_item(module); } bool |