13
0

Minor cleanups.

git-svn-id: svn://localhost/ardour2/branches/3.0@8197 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2010-12-06 04:31:26 +00:00
parent 3975355a5f
commit cba255c9c5

View File

@ -75,8 +75,6 @@ EditPluginPresetsDialog::delete_presets ()
for (ListViewText::SelectionList::const_iterator i = s.begin(); i != s.end(); ++i) { for (ListViewText::SelectionList::const_iterator i = s.begin(); i != s.end(); ++i) {
_plugin->remove_preset (_list.get_text (*i)); _plugin->remove_preset (_list.get_text (*i));
} }
setup_list ();
} }
void void
@ -88,4 +86,6 @@ EditPluginPresetsDialog::setup_list ()
for (vector<ARDOUR::Plugin::PresetRecord>::const_iterator i = presets.begin(); i != presets.end(); ++i) { for (vector<ARDOUR::Plugin::PresetRecord>::const_iterator i = presets.begin(); i != presets.end(); ++i) {
_list.append_text (i->label); _list.append_text (i->label);
} }
update_sensitivity ();
} }