diff options
-rw-r--r-- | gtk2_ardour/automation_time_axis.cc | 6 |
1 files 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<RouteTimeAxisView*>(parent); - if (rtv) { - rtv->request_redraw (); + StripableTimeAxisView* stv = dynamic_cast<StripableTimeAxisView*>(parent); + if (stv) { + stv->request_redraw (); } hide_button.set_sensitive(true); } |