STR 2094: Fixed callback handling for FL_HIDE event for Fl_Input_ and
handling of FL_WHEN_ENTER_KEY_ALWAYS. This was a regression introduced with svn -r 6212. History: svn -r 6031: STR #1719: regression introduced in FLTK 1.1 svn -r 6104: Fixed in FLTK 1.1 svn -r 6108: Applied to FLTK 1.3 (okay) svn -r 6212: introduced again by "Merging the UTF8 patch ..." git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6581 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
b1fefe0645
commit
d9801ae479
@ -809,8 +809,7 @@ int Fl_Input_::handletext(int event, int X, int Y, int W, int H) {
|
||||
minimal_update(mark_, position_);
|
||||
case FL_HIDE:
|
||||
fl_reset_spot();
|
||||
if (!readonly() &&
|
||||
(when() & (FL_WHEN_RELEASE | FL_WHEN_NOT_CHANGED)))
|
||||
if (!readonly() && (when() & FL_WHEN_RELEASE))
|
||||
maybe_do_callback();
|
||||
return 1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user