mirror of https://github.com/fltk/fltk
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
This commit is contained in:
parent
f64829b7bf
commit
3b4db2357d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue