diff options
| author | Manolo Gouy <Manolo> | 2016-10-27 16:41:05 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-10-27 16:41:05 +0000 |
| commit | 4567268d2a72a88ea812aa685333e7eee113ca86 (patch) | |
| tree | 0c2985efde67df17adedceb4afa65394fe8164a7 /src/Fl_Native_File_Chooser_MAC.mm | |
| parent | bbfd91977309465464a318e69dfad2bbfbc5df5a (diff) | |
MacOS: fix a small problem where command Quit of the application menu may not work if Fl_Native_File_Chooser is used before any window is shown.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@12056 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Native_File_Chooser_MAC.mm')
| -rw-r--r-- | src/Fl_Native_File_Chooser_MAC.mm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl_Native_File_Chooser_MAC.mm b/src/Fl_Native_File_Chooser_MAC.mm index 7d03fac36..bb09a1789 100644 --- a/src/Fl_Native_File_Chooser_MAC.mm +++ b/src/Fl_Native_File_Chooser_MAC.mm @@ -628,6 +628,7 @@ int Fl_Quartz_Native_File_Chooser_Driver::post() { if ( _filt_total == 0 ) { // Make sure they match _filt_value = 0; // TBD: move to someplace more logical? } + fl_open_display(); NSAutoreleasePool *localPool; localPool = [[NSAutoreleasePool alloc] init]; switch (_btype) { |
