13
0

Fix ATAV hide button for VCA lanes

This commit is contained in:
Robin Gareus 2017-07-27 01:34:16 +02:00
parent 53565962b2
commit 97e3168466

View File

@ -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);
}