FileChooser feature request

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

Bumping.

Rail

+1

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

Thanks,

Rail