summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/NodeModule.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp
index c03618cf..528b8e0f 100644
--- a/src/gui/NodeModule.cpp
+++ b/src/gui/NodeModule.cpp
@@ -228,8 +228,9 @@ NodeModule::embed_gui(bool embed)
}
if (!_plugin_ui) {
- const PluginModel* const pm = dynamic_cast<const PluginModel*>(_block->plugin());
- _plugin_ui = pm->ui(app().world(), _block);
+ _plugin_ui = _block->plugin_model()->ui(app().world(), _block);
+ _plugin_ui->signal_property_changed().connect(
+ sigc::mem_fun(app(), &App::set_property));
}
if (_plugin_ui) {