summaryrefslogtreecommitdiffstats
path: root/osdep/macosx_menubar.m
diff options
context:
space:
mode:
Diffstat (limited to 'osdep/macosx_menubar.m')
-rw-r--r--osdep/macosx_menubar.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/macosx_menubar.m b/osdep/macosx_menubar.m
index 3a5c5a76c2..8081ed202e 100644
--- a/osdep/macosx_menubar.m
+++ b/osdep/macosx_menubar.m
@@ -660,7 +660,7 @@
[panel setCanChooseDirectories:YES];
[panel setAllowsMultipleSelection:YES];
- if ([panel runModal] == NSFileHandlingPanelOKButton){
+ if ([panel runModal] == NSModalResponseOK){
NSMutableArray *fileArray = [[NSMutableArray alloc] init];
for (id url in [panel URLs])
[fileArray addObject:[url path]];