summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-05-24 14:25:04 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-05-24 14:25:04 +0000
commite0a7046b8036ae2ef4b2d3a602447c2b1c5b64a0 (patch)
treefbbacd4a50b01ab366bdd5709eb51d07c3c76043
parent3a117a899c6abb192f2498e88cc30997ad5763c2 (diff)
Always redraw the directory buttons if the base class handled the
event. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2254 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--CHANGES2
-rw-r--r--src/Fl_File_Input.cxx6
2 files changed, 5 insertions, 3 deletions
diff --git a/CHANGES b/CHANGES
index a5bbf5ffd..fa8722a84 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,8 @@
CHANGES IN FLTK 1.1.0rc3
- Documentation updates.
+ - Fl_File_Input didn't update the directory buttons if a
+ callback was registered with the widget.
- The file chooser would return the last selected
file(s) when cancel was pressed.
- The file chooser limited the resizing of the chooser
diff --git a/src/Fl_File_Input.cxx b/src/Fl_File_Input.cxx
index 03dca8722..b646e4571 100644
--- a/src/Fl_File_Input.cxx
+++ b/src/Fl_File_Input.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_File_Input.cxx,v 1.1.2.2 2002/05/16 12:47:43 easysw Exp $"
+// "$Id: Fl_File_Input.cxx,v 1.1.2.3 2002/05/24 14:25:04 easysw Exp $"
//
// File_Input header file for the Fast Light Tool Kit (FLTK).
//
@@ -186,7 +186,7 @@ Fl_File_Input::handle(int event) // I - Event
}
if (Fl_Input::handle(event)) {
- if (changed()) damage(FL_DAMAGE_BAR);
+ damage(FL_DAMAGE_BAR);
return 1;
} else return 0;
}
@@ -253,5 +253,5 @@ Fl_File_Input::handle_button(int event) // I - Event
//
-// End of "$Id: Fl_File_Input.cxx,v 1.1.2.2 2002/05/16 12:47:43 easysw Exp $".
+// End of "$Id: Fl_File_Input.cxx,v 1.1.2.3 2002/05/24 14:25:04 easysw Exp $".
//