projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't show DSP stats of inserts that don't collect them.
[ardour.git]
/
gtk2_ardour
/
generic_pluginui.cc
diff --git
a/gtk2_ardour/generic_pluginui.cc
b/gtk2_ardour/generic_pluginui.cc
index 7b5820cd27a13387847c97be515e73e413493209..b930c14b850e1470bd6dd5e6b14ca9390abcc8e1 100644
(file)
--- a/
gtk2_ardour/generic_pluginui.cc
+++ b/
gtk2_ardour/generic_pluginui.cc
@@
-157,7
+157,9
@@
GenericPluginUI::GenericPluginUI (boost::shared_ptr<PluginInsert> pi, bool scrol
pack_end (plugin_analysis_expander, false, false);
}
pack_end (plugin_analysis_expander, false, false);
}
- pack_end (cpuload_expander, false, false);
+ if (insert->provides_stats ()) {
+ pack_end (cpuload_expander, false, false);
+ }
if (!plugin->get_docs().empty()) {
pack_end (description_expander, false, false);
if (!plugin->get_docs().empty()) {
pack_end (description_expander, false, false);