diff options
-rw-r--r-- | src/gui/NodeModule.cpp | 6 | ||||
-rw-r--r-- | src/gui/Port.cpp | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp index 746083fb..f368d15f 100644 --- a/src/gui/NodeModule.cpp +++ b/src/gui/NodeModule.cpp @@ -1,6 +1,6 @@ /* This file is part of Ingen. - Copyright 2007-2015 David Robillard <http://drobilla.net/> + Copyright 2007-2016 David Robillard <http://drobilla.net/> Ingen is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free @@ -81,6 +81,10 @@ NodeModule::NodeModule(GraphCanvas& canvas, plugin->signal_changed().connect( sigc::mem_fun(this, &NodeModule::plugin_changed)); } + + for (const auto& p : block->properties()) { + property_changed(p.first, p.second); + } } NodeModule::~NodeModule() diff --git a/src/gui/Port.cpp b/src/gui/Port.cpp index c643b379..f9a04016 100644 --- a/src/gui/Port.cpp +++ b/src/gui/Port.cpp @@ -98,6 +98,10 @@ Port::Port(App& app, model()->has_property(_app.uris().atom_bufferType, _app.uris().atom_Sequence)); + for (const auto& p : pm->properties()) { + property_changed(p.first, p.second); + } + update_metadata(); value_changed(pm->value()); } |