diff options
Diffstat (limited to 'src/libs/gui')
-rw-r--r-- | src/libs/gui/NodeModule.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/gui/NodeModule.cpp b/src/libs/gui/NodeModule.cpp index 0e4ce18b..b3b191d1 100644 --- a/src/libs/gui/NodeModule.cpp +++ b/src/libs/gui/NodeModule.cpp @@ -138,7 +138,7 @@ NodeModule::embed_gui(bool embed) const PluginModel* const plugin = dynamic_cast<const PluginModel*>(_node->plugin()); assert(plugin); - _plugin_ui = plugin->ui(App::instance().engine(), _node); + _plugin_ui = plugin->ui(App::instance().world(), _node); if (_plugin_ui) { c_widget = (GtkWidget*)slv2_ui_instance_get_widget(_plugin_ui->instance()); @@ -281,7 +281,7 @@ NodeModule::popup_gui() const PluginModel* const plugin = dynamic_cast<const PluginModel*>(_node->plugin()); assert(plugin); - _plugin_ui = plugin->ui(App::instance().engine(), _node); + _plugin_ui = plugin->ui(App::instance().world(), _node); if (_plugin_ui) { GtkWidget* c_widget = (GtkWidget*)slv2_ui_instance_get_widget(_plugin_ui->instance()); |