diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2006-03-28 15:24:14 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2006-03-28 15:24:14 +0000 |
| commit | 7e42a63aa6482c53e13582adf95c001f47886a52 (patch) | |
| tree | b01b6f9f27fc9e81c7f4940860a2c47dd676b25c /src/Fl_File_Chooser.cxx | |
| parent | 37518df9b3a5634cb3e10b5a6e97acc0be209178 (diff) | |
ST 1148: a preselected filename will also be selected in the file chooser when popping up. I put a lot of effort into trying to make the chooser behave as it previously did in all other situations, e.g. to choose a directory
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4875 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_File_Chooser.cxx')
| -rw-r--r-- | src/Fl_File_Chooser.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_File_Chooser.cxx b/src/Fl_File_Chooser.cxx index 356e97dde..6a3397567 100644 --- a/src/Fl_File_Chooser.cxx +++ b/src/Fl_File_Chooser.cxx @@ -375,7 +375,7 @@ void Fl_File_Chooser::show() { window->show(); Fl::flush(); fl_cursor(FL_CURSOR_WAIT); -rescan(); +rescan_keep_filename(); fl_cursor(FL_CURSOR_DEFAULT); fileName->take_focus(); } |
