Only show user-presets in favorite sidebar
Plugins can have hundreds of factory presets, or in case of VST useless "default" program/presets. Those just clutter up the favorite plugin-list.
This commit is contained in:
parent
e4304f3bf2
commit
df35d277f5
@ -2839,6 +2839,9 @@ Mixer_UI::sync_treeview_from_favorite_order ()
|
||||
|
||||
vector<ARDOUR::Plugin::PresetRecord> presets = (*i)->get_presets (true);
|
||||
for (vector<ARDOUR::Plugin::PresetRecord>::const_iterator j = presets.begin(); j != presets.end(); ++j) {
|
||||
if (!(*j).user) {
|
||||
continue;
|
||||
}
|
||||
Gtk::TreeModel::Row child_row = *(favorite_plugins_model->append (newrow.children()));
|
||||
child_row[favorite_plugins_columns.name] = (*j).label;
|
||||
child_row[favorite_plugins_columns.plugin] = PluginPresetPtr (new PluginPreset(pip, &(*j)));
|
||||
|
Loading…
Reference in New Issue
Block a user