Revert "[Summary] Removed redundant selection changes when new tracks are added"

This reverts commit 72037faa33.
This commit is contained in:
GZharun 2015-01-15 13:26:04 +02:00
parent 72037faa33
commit 00df248d3b

View file

@ -704,6 +704,10 @@ 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());
@ -744,9 +748,6 @@ EditorRoutes::routes_added (list<RouteTimeAxisView*> routes)
/* now update route order keys from the treeview/track display order */
sync_order_keys_from_treeview ();
/* update selection */
selection_changed ();
}
void