summaryrefslogtreecommitdiff
path: root/gtk2_ardour/audio_time_axis.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/audio_time_axis.cc')
-rw-r--r--gtk2_ardour/audio_time_axis.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk2_ardour/audio_time_axis.cc b/gtk2_ardour/audio_time_axis.cc
index 61c7b25cfc..1e56fbc312 100644
--- a/gtk2_ardour/audio_time_axis.cc
+++ b/gtk2_ardour/audio_time_axis.cc
@@ -290,6 +290,15 @@ void
AudioTimeAxisView::route_active_changed ()
{
update_control_names ();
+
+ if (!_route->active()) {
+ controls_table.hide();
+ inactive_table.show_all();
+ RouteTimeAxisView::hide_all_automation();
+ } else {
+ inactive_table.hide();
+ controls_table.show();
+ }
}
void