13
0

GUI update for plugin-preset-list API change

This commit is contained in:
Robin Gareus 2016-01-09 15:22:40 +01:00
parent e6e7377cd8
commit 6a45e4a2b1

View File

@ -2320,7 +2320,7 @@ Mixer_UI::sync_treeview_from_favorite_order ()
continue; continue;
} }
vector<ARDOUR::Plugin::PresetRecord> presets = (*i)->get_presets(*_session); vector<ARDOUR::Plugin::PresetRecord> presets = (*i)->get_presets (true);
for (vector<ARDOUR::Plugin::PresetRecord>::const_iterator j = presets.begin(); j != presets.end(); ++j) { for (vector<ARDOUR::Plugin::PresetRecord>::const_iterator j = presets.begin(); j != presets.end(); ++j) {
Gtk::TreeModel::Row child_row = *(favorite_plugins_model->append (newrow.children())); Gtk::TreeModel::Row child_row = *(favorite_plugins_model->append (newrow.children()));
child_row[favorite_plugins_columns.name] = (*j).label; child_row[favorite_plugins_columns.name] = (*j).label;