mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-25 16:07:49 +01:00
[Summary] Removed redundant selection changes when new tracks are added
This commit is contained in:
parent
f42681bcf1
commit
72037faa33
1 changed files with 3 additions and 4 deletions
|
|
@ -704,10 +704,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());
|
||||
|
|
@ -748,6 +744,9 @@ 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue