Merge branch 'amolenaar/macos-open-panel-create-folders' into 'main'

macos: Propagate the create-folders option also for Open panels

Closes #6872

See merge request GNOME/gtk!7492
This commit is contained in:
Matthias Clasen 2024-07-26 22:35:43 +00:00
commit 2cdc2287a5

View File

@ -257,6 +257,10 @@ filechooser_quartz_launch (FileChooserQuartzData *data)
{
[panel setCanChooseDirectories:YES];
[panel setCanChooseFiles:NO];
if (data->create_folders)
{
[panel setCanCreateDirectories:YES];
}
}
else
{