make file picker contruct using whatever soundfont path is available at construction-time. work towards giving Processor access to change its File on load.

This commit is contained in:
Alex Birch
2018-04-11 00:08:15 +01:00
parent 191641ddd1
commit 114bb2f10a
6 changed files with 22 additions and 0 deletions

View File

@ -242,6 +242,11 @@ void JuicySFAudioProcessor::setStateInformation (const void* data, int sizeInByt
if (editor != nullptr) {
editor->setSize(lastUIWidth, lastUIHeight);
}
// const String& currentSoundFontAbsPath = fluidSynthModel->getCurrentSoundFontAbsPath();
// if (currentSoundFontAbsPath.isNotEmpty()) {
// fileChooser.setCurrentFile(File(currentSoundFontAbsPath), true, dontSendNotification);
// }
}
}
}