diff options
author | Carl Hetherington <carl@carlh.net> | 2011-03-22 19:01:34 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-03-22 19:01:34 +0000 |
commit | 073cf1782c600a1e8b4713a3023a7185c576a9c7 (patch) | |
tree | a81378793563b039f12e0eecb1833eb87d8b8769 /gtk2_ardour/selection.cc | |
parent | 78814265e3fcd4131ed032922a30344d43e902f2 (diff) |
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
Diffstat (limited to 'gtk2_ardour/selection.cc')
-rw-r--r-- | gtk2_ardour/selection.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/selection.cc b/gtk2_ardour/selection.cc index fa0df40336..d0b2cab5c7 100644 --- a/gtk2_ardour/selection.cc +++ b/gtk2_ardour/selection.cc @@ -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 ())); } } |