mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
prevent crash when saving learned MIDI binding that is now missing its controllable
git-svn-id: svn://localhost/ardour2/branches/3.0@13678 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
aea645e908
commit
844ce9f359
1 changed files with 1 additions and 1 deletions
|
|
@ -496,7 +496,7 @@ GenericMidiControlProtocol::get_state ()
|
|||
file.
|
||||
*/
|
||||
|
||||
if ((*i)->learned()) {
|
||||
if ((*i)->get_controllable() && (*i)->learned()) {
|
||||
children->add_child_nocopy ((*i)->get_state());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue