1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-29 02:40:05 +00:00

Avoided an assertion in linux native file chooser

This commit is contained in:
jules 2013-10-07 11:22:13 +01:00
parent 877823b649
commit 0796c7afbc

View file

@ -142,8 +142,8 @@ void FileChooser::showPlatformDialog (Array<File>& results,
else
tokens.add (result);
for (int i = 0; i < tokens.size(); i++)
results.add (File (tokens[i]));
for (int i = 0; i < tokens.size(); ++i)
results.add (File::getCurrentWorkingDirectory().getChildFile (tokens[i]));
}
child.waitForProcessToFinish (60 * 1000);