summaryrefslogtreecommitdiff
path: root/src/Fl_File_Chooser.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-11-20 15:49:24 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-11-20 15:49:24 +0000
commit5f5d68561f8b728bbabbef648d7fd818b8689df8 (patch)
tree8da338abee032b1f3ea0018ad7569882b179f499 /src/Fl_File_Chooser.cxx
parent4bf99bdfc65a65ae2e8bd14b6eda32c521c8fd88 (diff)
Fl_File_Input::value("") didn't work.
The window close callback also needed to set the filename to "". git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2851 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_File_Chooser.cxx')
-rw-r--r--src/Fl_File_Chooser.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_File_Chooser.cxx b/src/Fl_File_Chooser.cxx
index 21330fb89..438c36f2d 100644
--- a/src/Fl_File_Chooser.cxx
+++ b/src/Fl_File_Chooser.cxx
@@ -3,7 +3,7 @@
#include "../FL/Fl_File_Chooser.H"
inline void Fl_File_Chooser::cb_window_i(Fl_Window*, void*) {
- fileName->value(directory_);
+ fileName->value("");
fileList->deselect();
Fl::remove_timeout((Fl_Timeout_Handler)previewCB, this);
window->hide();