summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_routes.cc
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2015-03-13 02:47:16 +1100
committernick_m <mainsbridge@gmail.com>2015-03-13 02:47:16 +1100
commit9ec393422f960f98a3a970805699b2bd05ec803c (patch)
tree46875b498d8e59bf0a3f65827f799d374f3ba12a /gtk2_ardour/editor_routes.cc
parentb622bc18fc21de974f08a663996077ac91c98ccb (diff)
Add new routes to selection in the editor, rather than the editor
route list. Fixes new tracks not being selected. Also begin selection op history when adding routes.
Diffstat (limited to 'gtk2_ardour/editor_routes.cc')
-rw-r--r--gtk2_ardour/editor_routes.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/gtk2_ardour/editor_routes.cc b/gtk2_ardour/editor_routes.cc
index 21e8075d1a..e7a49105f3 100644
--- a/gtk2_ardour/editor_routes.cc
+++ b/gtk2_ardour/editor_routes.cc
@@ -685,10 +685,6 @@ EditorRoutes::routes_added (list<RouteTimeAxisView*> routes)
row[_columns.solo_safe_state] = (*x)->route()->solo_safe();
row[_columns.name_editable] = true;
- if (!from_scratch) {
- _editor->selection->add(*x);
- }
-
boost::weak_ptr<Route> wr ((*x)->route());
(*x)->route()->gui_changed.connect (*this, MISSING_INVALIDATOR, boost::bind (&EditorRoutes::handle_gui_changes, this, _1, _2), gui_context());