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
|
|
@ -1 +1 @@
|
|||
Subproject commit a1330fdfd42df293cfdb08780faa89aaccb4051a
|
||||
Subproject commit 69cbdc6741e3a9efa1988407a3b4e5dcdf6aa1c4
|
||||
|
|
@ -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