diff options
author | Robin Gareus <robin@gareus.org> | 2017-07-27 01:34:16 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-07-27 01:34:16 +0200 |
commit | 97e31684668424fd04faa0f6c48e491ee6aff00e (patch) | |
tree | f45f4d8563dfbb83d1fe7da8a32e91e9f848bdfa | |
parent | 53565962b2a0b4bc0ac34608d897d9f7885d369a (diff) |
Fix ATAV hide button for VCA lanes
-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); } |