summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_ui.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/route_ui.cc')
-rw-r--r--gtk2_ardour/route_ui.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk2_ardour/route_ui.cc b/gtk2_ardour/route_ui.cc
index 074f35a08d..57d1aeaeea 100644
--- a/gtk2_ardour/route_ui.cc
+++ b/gtk2_ardour/route_ui.cc
@@ -2356,3 +2356,13 @@ RouteUI::manage_pins ()
proxy->present();
}
}
+
+bool
+RouteUI::mark_hidden (bool yn)
+{
+ if (yn != _route->presentation_info().hidden()) {
+ _route->presentation_info().set_hidden (yn);
+ return true; // things changed
+ }
+ return false;
+}