13
0

Desensitize playlist menu with >1 selected tracks.

git-svn-id: svn://localhost/ardour2/branches/3.0@9001 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-03-01 15:05:47 +00:00
parent 02ca880e9f
commit 1c5f395c01

View File

@ -606,6 +606,7 @@ RouteTimeAxisView::build_display_menu ()
build_playlist_menu (); build_playlist_menu ();
items.push_back (MenuElem (_("Playlist"), *playlist_action_menu)); items.push_back (MenuElem (_("Playlist"), *playlist_action_menu));
items.back().set_sensitive (_editor.get_selection().tracks.size() <= 1);
route_group_menu->detach (); route_group_menu->detach ();
route_group_menu->build (_route->route_group ()); route_group_menu->build (_route->route_group ());