diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2020-04-14 21:13:04 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2020-04-14 21:13:04 +0200 |
| commit | b4dd1d36dd72e53e0114e983d71f307704e91efe (patch) | |
| tree | d28be618aa78e1d746e73e670b76a722cd848b6a | |
| parent | f3e83d3ce5afcce22c4c31dbf36bd094c84658e4 (diff) | |
Make sure output file name extension is visible.
| -rw-r--r-- | src/Fl_Native_File_Chooser_MAC.mm | 2 |
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(); |
