FileChooser feature request


#1

In FileChooser::showPlatformDialog() I need to access the contents of a package… so if we could get an option to set setTreatsFilePackagesAsDirectories…

Add at line 180…


        if (! isSaveDialogue)
        {
            NSOpenPanel* openPanel = (NSOpenPanel*) panel;
            [openPanel setCanChooseDirectories: selectsDirectory];
            [openPanel setCanChooseFiles: selectsFiles];
            [openPanel setAllowsMultipleSelection: selectMultipleFiles];
            [openPanel setResolvesAliases: YES];
        
            if (treatFilePackagesAsDirectories)
                [openPanel setTreatsFilePackagesAsDirectories: YES];
        }

Thanks,

Rail


#2

Bumping.

Rail


#3

+1


#4

OK. I've added this to the latest tip.


#5

Thanks,

Rail