summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Fl_Native_File_Chooser_MAC.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Native_File_Chooser_MAC.mm b/src/Fl_Native_File_Chooser_MAC.mm
index 07d8dba15..96e291c08 100644
--- a/src/Fl_Native_File_Chooser_MAC.mm
+++ b/src/Fl_Native_File_Chooser_MAC.mm
@@ -729,10 +729,10 @@ int Fl_Quartz_Native_File_Chooser_Driver::post() {
q = strchr(p, ','); if (q) *q = 0;
[_panel setAllowedFileTypes:[NSArray arrayWithObject:[NSString stringWithUTF8String:p]]];
free(p);
- [_panel setExtensionHidden:NO];
}
}
[_panel setCanSelectHiddenExtension:YES];
+ [_panel setExtensionHidden:NO];
}
}
int retval = runmodal();