summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-10-31 22:17:30 -0400
committerDavid Robillard <d@drobilla.net>2014-11-02 02:09:14 -0500
commit0178f85b05139e217c3749442d9d66a93839683c (patch)
tree0da0b3ae4466fddaac3b5f64b38f34b6d3695b52 /gtk2_ardour
parentb6d8805961e34eb3fdb2792221f439da12107818 (diff)
Don't complain about properties with plugins that do not support them.
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/generic_pluginui.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/generic_pluginui.cc b/gtk2_ardour/generic_pluginui.cc
index feea27b0b9..79373af836 100644
--- a/gtk2_ardour/generic_pluginui.cc
+++ b/gtk2_ardour/generic_pluginui.cc
@@ -340,7 +340,9 @@ GenericPluginUI::build ()
<< " type " << d->datatype << std::endl;
}
}
- plugin->announce_property_values();
+ if (!descs.empty()) {
+ plugin->announce_property_values();
+ }
// Iterate over the list of controls to find which adjacent controls
// are similar enough to be grouped together.