its parent.
git-svn-id: svn://localhost/ardour2/branches/3.0@12551
d708f5d6-7413-0410-9779-
e7cbd77b26cf
} else {
XMLNode* use_patch_name_list = node.child ("UsesPatchNameList");
if (use_patch_name_list) {
- _patch_list_name = node.property ("Name")->value();
+ _patch_list_name = use_patch_name_list->property ("Name")->value();
} else {
error << "Patch without patch name list - patchfile will be ignored" << endmsg;
return -1;
if (!_document.read (filename)) {
throw failed_constructor ();
}
-
+
set_state (_document, *_document.root());
}