diff options
author | Carl Hetherington <carl@carlh.net> | 2011-03-01 15:05:47 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-03-01 15:05:47 +0000 |
commit | 1c5f395c01270cfae0397d56ceb63a104d34b1a0 (patch) | |
tree | 5081d63b5839e4542d088554a2f8e15d27e3cd4e /gtk2_ardour/route_time_axis.cc | |
parent | 02ca880e9faa9a83773f71904b93a25271202041 (diff) |
Desensitize playlist menu with >1 selected tracks.
git-svn-id: svn://localhost/ardour2/branches/3.0@9001 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/route_time_axis.cc')
-rw-r--r-- | gtk2_ardour/route_time_axis.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc index 22138ac019..e723aeee40 100644 --- a/gtk2_ardour/route_time_axis.cc +++ b/gtk2_ardour/route_time_axis.cc @@ -606,6 +606,7 @@ RouteTimeAxisView::build_display_menu () build_playlist_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->build (_route->route_group ()); |