when a Route is removed, don't bother triggering a sync-presentation-info-from-treeview because it isn't necessary

This commit is contained in:
Paul Davis 2017-05-08 10:31:59 +01:00
parent eb133dd934
commit d51049f343

View file

@ -876,6 +876,8 @@ EditorRoutes::route_removed (TimeAxisView *tv)
TreeModel::Children rows = _model->children();
TreeModel::Children::iterator ri;
PBD::Unwinder<bool> uw (_ignore_selection_change, true);
for (ri = rows.begin(); ri != rows.end(); ++ri) {
if ((*ri)[_columns.tv] == tv) {
PBD::Unwinder<bool> uw (_route_deletion_in_progress, true);
@ -883,10 +885,6 @@ EditorRoutes::route_removed (TimeAxisView *tv)
break;
}
}
/* the deleted signal for the treeview/model will take
care of any updates.
*/
}
void