Fixed callback handling for HIDE event for Fl_Input_.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6104 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
b0d3863ff0
commit
32e3371774
@ -715,8 +715,7 @@ int Fl_Input_::handletext(int event, int X, int Y, int W, int H) {
|
||||
} else //if (Fl::selection_owner() != this)
|
||||
minimal_update(mark_, position_);
|
||||
case FL_HIDE:
|
||||
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