Don't mess with the track selection at all from the editor route list
when adding tracks (thinko in last commit).
This commit is contained in:
parent
3bd3dc04b1
commit
1a6bacb1f0
@ -5258,6 +5258,7 @@ Editor::add_routes (RouteList& routes)
|
||||
}
|
||||
|
||||
if (!from_scratch) {
|
||||
selection->tracks.clear();
|
||||
selection->add (new_selection);
|
||||
begin_selection_op_history();
|
||||
}
|
||||
|
@ -637,7 +637,6 @@ EditorRoutes::routes_added (list<RouteTimeAxisView*> routes)
|
||||
{
|
||||
PBD::Unwinder<bool> at (_adding_routes, true);
|
||||
|
||||
bool from_scratch = (_model->children().size() == 0);
|
||||
Gtk::TreeModel::Children::iterator insert_iter = _model->children().end();
|
||||
|
||||
for (Gtk::TreeModel::Children::iterator it = _model->children().begin(); it != _model->children().end(); ++it) {
|
||||
@ -649,10 +648,6 @@ EditorRoutes::routes_added (list<RouteTimeAxisView*> routes)
|
||||
}
|
||||
}
|
||||
|
||||
if(!from_scratch) {
|
||||
_editor->selection->tracks.clear();
|
||||
}
|
||||
|
||||
DisplaySuspender ds;
|
||||
|
||||
_display.set_model (Glib::RefPtr<ListStore>());
|
||||
|
Loading…
Reference in New Issue
Block a user