Minor cleanups.
git-svn-id: svn://localhost/ardour2/branches/3.0@8197 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
3975355a5f
commit
cba255c9c5
@ -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 ();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user