summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_routes.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/editor_routes.cc')
-rw-r--r--gtk2_ardour/editor_routes.cc8
1 files changed, 1 insertions, 7 deletions
diff --git a/gtk2_ardour/editor_routes.cc b/gtk2_ardour/editor_routes.cc
index e73160b4a2..8423fd4036 100644
--- a/gtk2_ardour/editor_routes.cc
+++ b/gtk2_ardour/editor_routes.cc
@@ -1012,13 +1012,7 @@ EditorRoutes::sync_presentation_info_from_treeview ()
continue;
}
- if (!visible) {
- stripable->presentation_info().set_flag (PresentationInfo::Hidden);
- } else {
- stripable->presentation_info().unset_flag (PresentationInfo::Hidden);
- }
-
- cerr << "Would change PI go for " << stripable->name() << " to " << order << " currently " << stripable->presentation_info().order() << endl;
+ stripable->presentation_info().set_hidden (!visible);
if (order != stripable->presentation_info().order()) {
stripable->set_presentation_order_explicit (order);