From 23baae9e0010ee03edd8904fc7e176c76f4f8e2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Sat, 26 Jul 2025 08:05:18 -0700 Subject: [PATCH] macOS: Fixed open dialog crash. --- examples/common/entry/dialog_darwin.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/common/entry/dialog_darwin.mm b/examples/common/entry/dialog_darwin.mm index acf4278fc..c80a7a91d 100644 --- a/examples/common/entry/dialog_darwin.mm +++ b/examples/common/entry/dialog_darwin.mm @@ -104,7 +104,7 @@ bool openFileSelectionDialog( panel.message = [[NSString alloc] initWithBytes:_title.getPtr() length:_title.getLength() encoding:NSASCIIStringEncoding]; panel.directoryURL = [NSURL URLWithString:@(_inOutFilePath.getCPtr())]; - panel.allowedContentTypes = fileTypes; + panel.allowedFileTypes = fileTypes; if ([panel runModal] == NSModalResponseOK) {