Prevent plugins appearing twice on the automation submenu.
authorCarl Hetherington <carl@carlh.net>
Mon, 1 Oct 2007 17:19:09 +0000 (17:19 +0000)
committerCarl Hetherington <carl@carlh.net>
Mon, 1 Oct 2007 17:19:09 +0000 (17:19 +0000)
git-svn-id: svn://localhost/ardour2/trunk@2505 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/route_time_axis.cc

index 9fc1fa924b2384b495a9b2dc125002e3013ab049..2e83c2e0301e7a44cfeaab484423782a787f6027 100644 (file)
@@ -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 ();