diff options
Diffstat (limited to 'src/libs/gui')
-rw-r--r-- | src/libs/gui/NodeModule.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libs/gui/NodeModule.cpp b/src/libs/gui/NodeModule.cpp index 188e3a42..61c937a8 100644 --- a/src/libs/gui/NodeModule.cpp +++ b/src/libs/gui/NodeModule.cpp @@ -110,6 +110,14 @@ NodeModule::remove_port(SharedPtr<PortModel> port) void NodeModule::show_control_window() { + if (_node->plugin()->type() == PluginModel::LV2) { + GtkWidget* gui = (GtkWidget*)_node->plugin()->gui(); + if (gui) { + cerr << "GUI!\n"; + } else { + cerr << "No gui :(\n"; + } + } App::instance().window_factory()->present_controls(_node); } |