diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-03-11 17:57:18 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-03-11 17:57:18 +0000 |
commit | 2f9800638c897f7f2d0eb18198e7a84c0821f52a (patch) | |
tree | e70367893266568a555556fe08db5c06495608ad /gtk2_ardour/editor_route_list.cc | |
parent | 799e4b7c98697beb128b012197e4a1a10b917d8a (diff) |
final (?) fix for editor mixer strip handling when route is removed
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4791 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_route_list.cc')
-rw-r--r-- | gtk2_ardour/editor_route_list.cc | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/gtk2_ardour/editor_route_list.cc b/gtk2_ardour/editor_route_list.cc index d889348ef7..5a901db6c6 100644 --- a/gtk2_ardour/editor_route_list.cc +++ b/gtk2_ardour/editor_route_list.cc @@ -82,7 +82,6 @@ Editor::handle_new_route (Session::RouteList& routes) } route->gui_changed.connect (mem_fun(*this, &Editor::handle_gui_changes)); - cerr << "Connect to GA for " << tv << " named " << tv->name() << endl; tv->GoingAway.connect (bind (mem_fun(*this, &Editor::remove_route), tv)); } @@ -160,21 +159,15 @@ Editor::remove_route (TimeAxisView *tv) if (current_mixer_strip->route() == route) { - cerr << "CMS is the one being deleted\n"; - if (next_tv) { - cerr << "move to " << next_tv->name() << endl; set_selected_mixer_strip (*next_tv); } else { - cerr << "no next TV, hide editor mixer strip\n"; - /* make the editor mixer strip go away setting the + /* make the editor mixer strip go away by setting the * button to inactive (which also unticks the menu option) */ ActionManager::uncheck_toggleaction ("<Actions>/Editor/show-editor-mixer"); } - } else { - cerr << "CMS differs from the deleted one\n"; } } |