Use XMLNode::set_property API in all Panner classes

This commit is contained in:
Tim Mayberry 2016-08-28 23:52:11 +10:00
parent f9af328bca
commit a59288a1f2
4 changed files with 8 additions and 8 deletions

View file

@ -366,9 +366,9 @@ XMLNode&
VBAPanner::get_state ()
{
XMLNode& node (Panner::get_state());
node.add_property (X_("uri"), _descriptor.panner_uri);
node.set_property (X_("uri"), _descriptor.panner_uri);
/* this is needed to allow new sessions to load with old Ardour: */
node.add_property (X_("type"), _descriptor.name);
node.set_property (X_("type"), _descriptor.name);
return node;
}