summaryrefslogtreecommitdiffstats
path: root/src/gui/NodeModule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/NodeModule.cpp')
-rw-r--r--src/gui/NodeModule.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp
index 9f10ffe7..482cbe95 100644
--- a/src/gui/NodeModule.cpp
+++ b/src/gui/NodeModule.cpp
@@ -55,7 +55,7 @@ NodeModule::NodeModule(boost::shared_ptr<PatchCanvas> canvas, SharedPtr<NodeMode
node->signal_new_port.connect(sigc::bind(sigc::mem_fun(this, &NodeModule::add_port), true));
node->signal_removed_port.connect(sigc::hide_return(sigc::mem_fun(this, &NodeModule::remove_port)));
- node->signal_property.connect(sigc::mem_fun(this, &NodeModule::set_property));
+ node->signal_property.connect(sigc::mem_fun(this, &NodeModule::property_changed));
node->signal_moved.connect(sigc::mem_fun(this, &NodeModule::rename));
PluginModel* plugin = dynamic_cast<PluginModel*>(node->plugin());
if (plugin)
@@ -99,10 +99,10 @@ NodeModule::create(boost::shared_ptr<PatchCanvas> canvas, SharedPtr<NodeModel> n
ret = boost::shared_ptr<NodeModule>(new NodeModule(canvas, node));
for (GraphObject::Properties::const_iterator m = node->meta().properties().begin(); m != node->meta().properties().end(); ++m)
- ret->set_property(m->first, m->second);
+ ret->property_changed(m->first, m->second);
for (GraphObject::Properties::const_iterator m = node->properties().begin(); m != node->properties().end(); ++m)
- ret->set_property(m->first, m->second);
+ ret->property_changed(m->first, m->second);
for (NodeModel::Ports::const_iterator p = node->ports().begin(); p != node->ports().end(); ++p)
ret->add_port(*p, false);
@@ -399,7 +399,7 @@ NodeModule::store_location()
void
-NodeModule::set_property(const URI& key, const Atom& value)
+NodeModule::property_changed(const URI& key, const Atom& value)
{
const Shared::LV2URIMap& uris = App::instance().uris();
switch (value.type()) {