mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
Fix crash on getting state of selected MIDI region automation tracks (fixes #3860).
git-svn-id: svn://localhost/ardour2/branches/3.0@9187 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
78814265e3
commit
073cf1782c
1 changed files with 1 additions and 1 deletions
|
|
@ -1109,7 +1109,7 @@ Selection::get_state () const
|
||||||
} else if (atv) {
|
} else if (atv) {
|
||||||
XMLNode* t = node->add_child (X_("AutomationView"));
|
XMLNode* t = node->add_child (X_("AutomationView"));
|
||||||
t->add_property (X_("id"), atoi (atv->parent_route()->id().to_s().c_str()));
|
t->add_property (X_("id"), atoi (atv->parent_route()->id().to_s().c_str()));
|
||||||
t->add_property (X_("parameter"), EventTypeMap::instance().to_symbol (atv->control()->parameter ()));
|
t->add_property (X_("parameter"), EventTypeMap::instance().to_symbol (atv->parameter ()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue