summaryrefslogtreecommitdiffstats
path: root/src/JackDbusDriver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/JackDbusDriver.cpp')
-rw-r--r--src/JackDbusDriver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/JackDbusDriver.cpp b/src/JackDbusDriver.cpp
index f2ae7ed..a7a379d 100644
--- a/src/JackDbusDriver.cpp
+++ b/src/JackDbusDriver.cpp
@@ -639,7 +639,7 @@ JackDriver::find_or_create_module(
if (!module) {
module = boost::shared_ptr<PatchageModule>(new PatchageModule(_app, name, type));
module->load_location();
- _app->canvas()->add_item(module);
+ _app->canvas()->add_module(name, module);
}
return module;