From cba255c9c5b7fe2925570eab53b7543e5c82014e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 6 Dec 2010 04:31:26 +0000 Subject: [PATCH] Minor cleanups. git-svn-id: svn://localhost/ardour2/branches/3.0@8197 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/edit_plugin_presets_dialog.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/edit_plugin_presets_dialog.cc b/gtk2_ardour/edit_plugin_presets_dialog.cc index 90887c6451..f7d83c69f1 100644 --- a/gtk2_ardour/edit_plugin_presets_dialog.cc +++ b/gtk2_ardour/edit_plugin_presets_dialog.cc @@ -75,8 +75,6 @@ EditPluginPresetsDialog::delete_presets () for (ListViewText::SelectionList::const_iterator i = s.begin(); i != s.end(); ++i) { _plugin->remove_preset (_list.get_text (*i)); } - - setup_list (); } void @@ -88,4 +86,6 @@ EditPluginPresetsDialog::setup_list () for (vector::const_iterator i = presets.begin(); i != presets.end(); ++i) { _list.append_text (i->label); } + + update_sensitivity (); }