mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 20:29:35 +01:00
Use PBD::string_to<bool> in ARDOUR::Processor class
This commit is contained in:
parent
603d944530
commit
9ce1d7c357
1 changed files with 1 additions and 1 deletions
|
|
@ -227,7 +227,7 @@ Processor::set_state (const XMLNode& node, int version)
|
|||
}
|
||||
}
|
||||
|
||||
bool const a = string_is_affirmative (prop->value ()) && !_session.get_bypass_all_loaded_plugins();
|
||||
bool const a = string_to<bool> (prop->value ()) && !_session.get_bypass_all_loaded_plugins();
|
||||
if (_active != a) {
|
||||
if (a) {
|
||||
activate ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue