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
@ -1109,7 +1109,7 @@ Selection::get_state () const
|
||||
} else if (atv) {
|
||||
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_("parameter"), EventTypeMap::instance().to_symbol (atv->control()->parameter ()));
|
||||
t->add_property (X_("parameter"), EventTypeMap::instance().to_symbol (atv->parameter ()));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user