I use a fileChooser to select a path where some files will be saved.
Is there a way to replace the native button “Open” to “Save” or “Export” or else?
Thanks
Damien
I use a fileChooser to select a path where some files will be saved.
Is there a way to replace the native button “Open” to “Save” or “Export” or else?
Thanks
Damien
It says ‘Save’ if you set the folder flags
myChooser = std::make_unique<FileChooser>("SAVE preset...",
File::getSpecialLocation(File::userHomeDirectory),
"*.pgm");
auto folderChooserFlags = FileBrowserComponent::saveMode;
myChooser->launchAsync(folderChooserFlags, [this](const FileChooser& chooser)
...
Working! thanks for your help, I was using the wrong call with browseForDirectory() and a sync call.
Thanks