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:
parent
877823b649
commit
0796c7afbc
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue