mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Use PBD::string_to<bool> in MidiTimeAxisView class
As the conversion was performed with PBD::to_string
This commit is contained in:
parent
b540817b5b
commit
71fc5b9e8b
1 changed files with 1 additions and 1 deletions
|
|
@ -314,7 +314,7 @@ MidiTimeAxisView::set_route (boost::shared_ptr<Route> rt)
|
|||
*i, route_id, has_parameter, parameter);
|
||||
if (p && route_id == _route->id () && has_parameter) {
|
||||
const std::string& visible = gui_object_state().get_string (*i, X_("visible"));
|
||||
create_automation_child (parameter, string_is_affirmative (visible));
|
||||
create_automation_child (parameter, string_to<bool> (visible));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue