mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 04:06:26 +01:00
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:
parent
eb133dd934
commit
d51049f343
1 changed files with 2 additions and 4 deletions
|
|
@ -876,6 +876,8 @@ EditorRoutes::route_removed (TimeAxisView *tv)
|
||||||
TreeModel::Children rows = _model->children();
|
TreeModel::Children rows = _model->children();
|
||||||
TreeModel::Children::iterator ri;
|
TreeModel::Children::iterator ri;
|
||||||
|
|
||||||
|
PBD::Unwinder<bool> uw (_ignore_selection_change, true);
|
||||||
|
|
||||||
for (ri = rows.begin(); ri != rows.end(); ++ri) {
|
for (ri = rows.begin(); ri != rows.end(); ++ri) {
|
||||||
if ((*ri)[_columns.tv] == tv) {
|
if ((*ri)[_columns.tv] == tv) {
|
||||||
PBD::Unwinder<bool> uw (_route_deletion_in_progress, true);
|
PBD::Unwinder<bool> uw (_route_deletion_in_progress, true);
|
||||||
|
|
@ -883,10 +885,6 @@ EditorRoutes::route_removed (TimeAxisView *tv)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* the deleted signal for the treeview/model will take
|
|
||||||
care of any updates.
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue