mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 02:31:59 +00:00
allow directory creation when saving files/attachments. patch by Hiro. b=360948 r=josh sr=pinkerton
This commit is contained in:
parent
08d16c0829
commit
03e776671c
@ -304,6 +304,7 @@ nsFilePicker::GetLocalFolder(const nsString& inTitle, nsILocalFile** outFile)
|
||||
[thePanel setCanChooseDirectories:YES];
|
||||
[thePanel setCanChooseFiles:NO];
|
||||
[thePanel setResolvesAliases:YES]; //this is default - probably doesn't need to be set
|
||||
[thePanel setCanCreateDirectories:YES];
|
||||
|
||||
// packages != folders
|
||||
[thePanel setTreatsFilePackagesAsDirectories:NO];
|
||||
|
Loading…
Reference in New Issue
Block a user