diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-07-28 22:56:00 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-07-28 22:56:00 +0000 |
| commit | 0a5b7239d432dd9b2d13534d61edb7785c8dbf66 (patch) | |
| tree | 86e362137526e1e6484b5945c3daaf672ef7aca8 /src/Fl_File_Input.cxx | |
| parent | 0af617b641559380c55335ec9b0368103ac78b51 (diff) | |
Fix redraw problem with Fl_File_Input (STR #958)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4459 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_File_Input.cxx')
| -rw-r--r-- | src/Fl_File_Input.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl_File_Input.cxx b/src/Fl_File_Input.cxx index 9472770c4..b8ec08548 100644 --- a/src/Fl_File_Input.cxx +++ b/src/Fl_File_Input.cxx @@ -238,6 +238,7 @@ Fl_File_Input::handle_button(int event) // I - Event if (event == FL_RELEASE) pressed_ = -1; else pressed_ = (short)i; + window()->make_current(); draw_buttons(); // Return immediately if the user is clicking on the last button or |
