diff options
author | Taybin Rutkin <taybin@taybin.com> | 2007-03-09 06:02:35 +0000 |
---|---|---|
committer | Taybin Rutkin <taybin@taybin.com> | 2007-03-09 06:02:35 +0000 |
commit | 355c078023fb10078e24ac171e99125c02e08fad (patch) | |
tree | 72a7dbad1b508cbb7f10fbdcdff75e8cb26892d3 | |
parent | e497c6ef12b37759f9e82d3a58d5b2d5768154a9 (diff) |
Bug fix for displaying routes after a hidden route.
git-svn-id: svn://localhost/ardour2/trunk@1564 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | gtk2_ardour/editor.cc | 6 | ||||
-rw-r--r-- | gtk2_ardour/editor_route_list.cc | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index aa37d297ed..0031c613f1 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -1093,8 +1093,7 @@ Editor::connect_to_session (Session *t) } session->locations()->add (loc, false); session->set_auto_loop_location (loc); - } - else { + } else { // force name loc->set_name (_("Loop")); } @@ -1107,8 +1106,7 @@ Editor::connect_to_session (Session *t) } session->locations()->add (loc, false); session->set_auto_punch_location (loc); - } - else { + } else { // force name loc->set_name (_("Punch")); } diff --git a/gtk2_ardour/editor_route_list.cc b/gtk2_ardour/editor_route_list.cc index d7f393f836..99031f168c 100644 --- a/gtk2_ardour/editor_route_list.cc +++ b/gtk2_ardour/editor_route_list.cc @@ -52,7 +52,7 @@ Editor::handle_new_route (Session::RouteList& routes) boost::shared_ptr<Route> route = (*x); if (route->hidden()) { - return; + continue; } tv = new AudioTimeAxisView (*this, *session, route, track_canvas); |