fix typo that was causing soundfont loading to fail

This commit is contained in:
Alex Birch 2019-07-28 20:17:03 +01:00
parent f87ec7c8e4
commit e772b4bcf0
No known key found for this signature in database
GPG Key ID: 305EB1F98D44ACBA

View File

@ -482,7 +482,7 @@ void JuicySFAudioProcessor::setStateInformation (const void* data, int sizeInByt
if (xmlElement) { if (xmlElement) {
ValueTree tree{valueTreeState.state.getChildWithName("soundFont")}; ValueTree tree{valueTreeState.state.getChildWithName("soundFont")};
Value value{tree.getPropertyAsValue("path", nullptr)}; Value value{tree.getPropertyAsValue("path", nullptr)};
value = xmlState->getStringAttribute("path", value.getValue()); value = xmlElement->getStringAttribute("path", value.getValue());
} }
// valueTreeState.getParameter("soundFontPath")->getValue() // valueTreeState.getParameter("soundFontPath")->getValue()