summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_routes.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-06-10 15:00:43 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-06-10 15:00:43 -0400
commit8ceab4e193bb451607b68bdf892b79893b399d1a (patch)
tree153a6b0781c61cfd2cd7f60f95adcb8f53b6e016 /gtk2_ardour/editor_routes.cc
parentfbc51c03ef1907e0869bb31b7262c533769b25bb (diff)
make sure editor can follow visibility changes for VCAs
Diffstat (limited to 'gtk2_ardour/editor_routes.cc')
-rw-r--r--gtk2_ardour/editor_routes.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_routes.cc b/gtk2_ardour/editor_routes.cc
index bc16c14d60..9c827c1412 100644
--- a/gtk2_ardour/editor_routes.cc
+++ b/gtk2_ardour/editor_routes.cc
@@ -581,7 +581,6 @@ EditorRoutes::redisplay_real ()
for (n = 0, position = 0, i = rows.begin(); i != rows.end(); ++i) {
TimeAxisView *tv = (*i)[_columns.tv];
- boost::shared_ptr<Stripable> route = (*i)[_columns.stripable];
if (tv == 0) {
// just a "title" row
@@ -926,7 +925,9 @@ EditorRoutes::route_property_changed (const PropertyChange& what_changed, boost:
if (what_changed.contains (ARDOUR::Properties::hidden)) {
(*i)[_columns.visible] = !stripable->presentation_info().hidden();
+ cerr << stripable->name() << " visibility changed, redisplay\n";
redisplay ();
+
}
break;