diff options
author | David Robillard <d@drobilla.net> | 2007-06-15 07:39:20 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-06-15 07:39:20 +0000 |
commit | f878576f2d486f190da70801fe30a62ef7083912 (patch) | |
tree | e4dd10e0fe7d1ee75a4704b6a1900800bf1fe667 /gtk2_ardour/editor_route_list.cc | |
parent | 13151b43f058ae97408a39b4c5160974c512c9ae (diff) |
User toggling of editor region/route/etc list, ala editor mixer.
Canvas, from sea to shining sea.
git-svn-id: svn://localhost/ardour2/trunk@1983 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_route_list.cc')
-rw-r--r-- | gtk2_ardour/editor_route_list.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_route_list.cc b/gtk2_ardour/editor_route_list.cc index 36f2ed59c8..04ef8b46b0 100644 --- a/gtk2_ardour/editor_route_list.cc +++ b/gtk2_ardour/editor_route_list.cc @@ -124,6 +124,7 @@ Editor::handle_new_route (Session::RouteList& routes) } editor_mixer_button.set_sensitive(true); + editor_list_button.set_sensitive(true); } void @@ -167,6 +168,10 @@ Editor::remove_route (TimeAxisView *tv) if (track_views.size() == 0) { editor_mixer_button.set_sensitive(false); + + editor_list_button.set_active(false); + ActionManager::uncheck_toggleaction ("<Actions>/Editor/show-editor-list"); + editor_list_button.set_sensitive(false); } } |