mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
Don't show DSP stats of inserts that don't collect them.
This commit is contained in:
parent
d1cf21634f
commit
78f749ef65
2 changed files with 4 additions and 2 deletions
|
|
@ -157,7 +157,9 @@ GenericPluginUI::GenericPluginUI (boost::shared_ptr<PluginInsert> pi, bool scrol
|
|||
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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue