mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
use string_is_affirmative(), not direct test for "yes"
git-svn-id: svn://localhost/ardour2/branches/3.0@9841 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
676542dcce
commit
32fc1f8ed9
1 changed files with 1 additions and 1 deletions
|
|
@ -2269,7 +2269,7 @@ Editor::set_state (const XMLNode& node, int /*version*/)
|
|||
}
|
||||
|
||||
if ((prop = node.property ("stationary-playhead"))) {
|
||||
bool yn = (prop->value() == "yes");
|
||||
bool yn = string_is_affirmative (prop->value());
|
||||
set_stationary_playhead (yn);
|
||||
RefPtr<Action> act = ActionManager::get_action (X_("Editor"), X_("toggle-stationary-playhead"));
|
||||
if (act) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue