Mac native save dialogs ignoring default filename bug + fix


#1

It appears that, when using the native Mac save dialogs, the suggested default file name is ignored. Instead, it always defaults to “untitled”. Adding the following lines to juce_mac_FileChooser.cpp at line 209 seems to fix it:

if (userInfo.defaultLocationValid) options.saveFileName = PlatformUtilities::juceStringToCFString(currentFileOrDirectory.getFileName());


#2

Ah, thanks!