Hey Jules
I’ve just updated the JUCE library within one of my apps from version 2.0.28 to the very latest version, and I’ve noticed a slight change in the way that the FileChooser class works when using it to save a file.
When using the following code, the getResult() function is now returning something slightly different:
FileChooser saveFileChooser(translate("Create an AlphaLive project to save..."),
StoredSettings::getInstance()->appProjectDir,
"*.alphalive");
if (saveFileChooser.browseForFileToSave(false))
{
//create a project directory
File savedDirectory (saveFileChooser.getResult());
}
Previously, the filename that getResult() would return would be exactly what text the user entered into the file browser window, however with the very latest version it automatically appends the first wildcard I put as the filePatternsAllowed parameter within the FileChoose constructor (in this case, .alphalive).
Is this the way that it is meant to work now?