mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
macOS: Fixed open dialog crash.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user