From 97e31684668424fd04faa0f6c48e491ee6aff00e Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 27 Jul 2017 01:34:16 +0200 Subject: Fix ATAV hide button for VCA lanes --- gtk2_ardour/automation_time_axis.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gtk2_ardour/automation_time_axis.cc b/gtk2_ardour/automation_time_axis.cc index 724809d446..f65d2282b3 100644 --- a/gtk2_ardour/automation_time_axis.cc +++ b/gtk2_ardour/automation_time_axis.cc @@ -548,9 +548,9 @@ AutomationTimeAxisView::hide_clicked () { hide_button.set_sensitive(false); set_marked_for_display (false); - RouteTimeAxisView* rtv = dynamic_cast(parent); - if (rtv) { - rtv->request_redraw (); + StripableTimeAxisView* stv = dynamic_cast(parent); + if (stv) { + stv->request_redraw (); } hide_button.set_sensitive(true); } -- cgit v1.2.3