13
0

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:
nick_m 2015-03-13 04:01:55 +11:00
parent 3bd3dc04b1
commit 1a6bacb1f0
2 changed files with 1 additions and 5 deletions

View File

@ -5258,6 +5258,7 @@ Editor::add_routes (RouteList& routes)
}
if (!from_scratch) {
selection->tracks.clear();
selection->add (new_selection);
begin_selection_op_history();
}

View File

@ -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>());