fix up some issues introduced by lifecycle tracking of Controllable in Generic MIDI control code

git-svn-id: svn://localhost/ardour2/branches/3.0@12947 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-06-26 19:10:11 +00:00
parent faaac88ac8
commit dde521f2c6
2 changed files with 3 additions and 4 deletions

View file

@ -638,7 +638,7 @@ GenericMidiControlProtocol::load_bindings (const string& xmlpath)
_current_bank = 0;
}
if ((prop = (*citer)->property ("motorised")) != 0) {
if ((prop = (*citer)->property ("motorised")) != 0 || ((prop = (*citer)->property ("motorized")) != 0)) {
_motorised = string_is_affirmative (prop->value ());
} else {
_motorised = false;