1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

FileChooser: In Linux FileChoosers, prefer to open files rather than directories if both are requested

Zenity and Kdialog only support opening either files or directories
during a single invocation.
This commit is contained in:
reuk 2021-09-27 12:23:14 +01:00
parent 0feda541e7
commit 7504fa065b
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11
2 changed files with 11 additions and 5 deletions

View file

@ -183,7 +183,6 @@ void FileChooser::launchAsync (int flags, std::function<void (const FileChooser&
pimpl->launch();
}
std::shared_ptr<FileChooser::Pimpl> FileChooser::createPimpl (int flags, FilePreviewComponent* previewComp)
{
results.clear();