summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/PluginModel.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/PluginModel.cpp b/src/client/PluginModel.cpp
index 4381d979..6a5912a8 100644
--- a/src/client/PluginModel.cpp
+++ b/src/client/PluginModel.cpp
@@ -195,8 +195,9 @@ SharedPtr<PluginUI>
PluginModel::ui(Ingen::Shared::World* world,
SharedPtr<const NodeModel> node) const
{
- if (_type != LV2)
+ if (!_lilv_plugin) {
return SharedPtr<PluginUI>();
+ }
return PluginUI::create(world, node, _lilv_plugin);
}