mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-22 01:34:21 +00:00
This commit is contained in:
parent
0626694ddb
commit
2c77b60650
1 changed files with 3 additions and 0 deletions
|
|
@ -207,6 +207,9 @@ void FileChooser::showPlatformDialog (OwnedArray<File>& results,
|
|||
options.clientName = PlatformUtilities::juceStringToCFString (name);
|
||||
CFStringRef message = PlatformUtilities::juceStringToCFString (title);
|
||||
|
||||
if (userInfo.defaultLocationValid)
|
||||
options.saveFileName = PlatformUtilities::juceStringToCFString (currentFileOrDirectory.getFileName());
|
||||
|
||||
// nasty layout bug if the message text is set for a directory browser..
|
||||
if (selectsDirectory)
|
||||
options.windowTitle = message;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue