projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb133dd
)
when a Route is removed, don't bother triggering a sync-presentation-info-from-treevi...
author
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 8 May 2017 09:31:59 +0000
(10:31 +0100)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 8 May 2017 09:40:27 +0000
(10:40 +0100)
gtk2_ardour/editor_routes.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/editor_routes.cc
b/gtk2_ardour/editor_routes.cc
index 059439befee7fe7ed120f14db530c06c7f5eb658..365dd8d9ef8356e60df44405a19c1b249ec8368c 100644
(file)
--- a/
gtk2_ardour/editor_routes.cc
+++ b/
gtk2_ardour/editor_routes.cc
@@
-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