diff options
| author | Manolo Gouy <Manolo> | 2010-08-25 17:01:56 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2010-08-25 17:01:56 +0000 |
| commit | 3b4db2357d3cc54538dfea44a30f4691a952e531 (patch) | |
| tree | 27bf3b6d5ec5a8119c21fdec14fabbc71349526d /src/Fl_Native_File_Chooser_MAC.cxx | |
| parent | f64829b7bfb6c34a03b754f191167f5885203b2d (diff) | |
Native file chooser-Mac OS X: fixed issue arising with OS 10.6
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7689 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Native_File_Chooser_MAC.cxx')
| -rw-r--r-- | src/Fl_Native_File_Chooser_MAC.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl_Native_File_Chooser_MAC.cxx b/src/Fl_Native_File_Chooser_MAC.cxx index 80fe3b8a0..90f2240b1 100644 --- a/src/Fl_Native_File_Chooser_MAC.cxx +++ b/src/Fl_Native_File_Chooser_MAC.cxx @@ -548,6 +548,7 @@ int Fl_Native_File_Chooser::post() { NSString *fname = nil; NSString *preset = nil; NSPopUpButton *popup = nil; + [(NSSavePanel*)_panel setAllowsOtherFileTypes:YES]; if ( !(_options & SAVEAS_CONFIRM) ) { static FLsaveDelegate *saveDelegate = nil; if (saveDelegate == nil)saveDelegate = [[FLsaveDelegate alloc] init]; // not to be ever freed |
