summaryrefslogtreecommitdiffstats
path: root/src/libs/gui/PatchPortModule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/gui/PatchPortModule.cpp')
-rw-r--r--src/libs/gui/PatchPortModule.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/gui/PatchPortModule.cpp b/src/libs/gui/PatchPortModule.cpp
index f52785a4..863fc55e 100644
--- a/src/libs/gui/PatchPortModule.cpp
+++ b/src/libs/gui/PatchPortModule.cpp
@@ -72,6 +72,8 @@ PatchPortModule::create(boost::shared_ptr<PatchCanvas> canvas, SharedPtr<PortMod
ret->_patch_port = boost::shared_ptr<Port>(new Port(ret, port, true));
ret->add_port(ret->_patch_port);
+
+ ret->set_menu(ret->_patch_port->menu());
for (MetadataMap::const_iterator m = port->metadata().begin(); m != port->metadata().end(); ++m)
ret->metadata_update(m->first, m->second);