This commit is contained in:
Бранимир Караџић
2023-03-02 21:45:20 -08:00
parent 5ec297bc71
commit f8019cb3d4
3 changed files with 34 additions and 26 deletions

View File

@@ -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.allowedFileTypes = fileTypes;
panel.allowedContentTypes = fileTypes;
if ([panel runModal] == NSModalResponseOK)
{