make AxisView::marked_for_display() be virtual so we can use the a Stripable's PresentationInfo hidden() status

This commit is contained in:
Paul Davis 2016-06-05 15:19:54 -04:00
parent d58cb3daa3
commit 171b70927a
6 changed files with 40 additions and 1 deletions

View file

@ -2356,3 +2356,13 @@ RouteUI::manage_pins ()
proxy->present();
}
}
bool
RouteUI::mark_hidden (bool yn)
{
if (yn != _route->presentation_info().hidden()) {
_route->presentation_info().set_hidden (yn);
return true; // things changed
}
return false;
}