mirror of
https://codeberg.org/armin/wavetable.git
synced 2026-09-01 05:50:46 +02:00
Fix loading presets if preset name doesn't match filename
This commit is contained in:
parent
b9211a81b6
commit
e698e29a59
2 changed files with 2 additions and 2 deletions
|
|
@ -407,7 +407,7 @@ void extractWavetables()
|
|||
|
||||
for (auto f : src.findChildFiles (juce::File::findFiles, false, "*.xml"))
|
||||
{
|
||||
auto presetreset = juce::ValueTree::fromXml (f.loadFileAsString());
|
||||
auto preset = juce::ValueTree::fromXml (f.loadFileAsString());
|
||||
auto state = preset.getChildWithName ("state");
|
||||
|
||||
auto name1 = state.getProperty ("wt1");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue