From 32e3371774adf3e0948b5d2d7667acd30c3894fe Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Mon, 21 Apr 2008 20:54:37 +0000 Subject: [PATCH] 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 --- src/Fl_Input_.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Fl_Input_.cxx b/src/Fl_Input_.cxx index e4ae2e9a6..4d96a3150 100644 --- a/src/Fl_Input_.cxx +++ b/src/Fl_Input_.cxx @@ -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;