From 5ea5cc60346636dcb781b86277373f3d8a3e837b Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 1 Oct 2007 17:19:09 +0000 Subject: [PATCH] Prevent plugins appearing twice on the automation submenu. git-svn-id: svn://localhost/ardour2/trunk@2505 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/route_time_axis.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc index 9fc1fa924b..2e83c2e030 100644 --- a/gtk2_ardour/route_time_axis.cc +++ b/gtk2_ardour/route_time_axis.cc @@ -231,6 +231,7 @@ RouteTimeAxisView::post_construct () /* map current state of the route */ update_diskstream_display (); + subplugin_menu.items().clear (); _route->foreach_processor (this, &RouteTimeAxisView::add_processor_to_subplugin_menu); _route->foreach_processor (this, &RouteTimeAxisView::add_existing_processor_automation_curves); reset_processor_automation_curves ();