From c73d1cf713b75f4c1f5f11fba460989d0368a6bd Mon Sep 17 00:00:00 2001 From: Aleksas Pantechovskis Date: Sat, 17 Dec 2011 21:58:02 +0100 Subject: [PATCH] Fixed enable/disable "Find" button * Fixed during GCI 2011 * Fixed #7983. Signed-off-by: Siarzhuk Zharski --- src/apps/mail/FindWindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/apps/mail/FindWindow.cpp b/src/apps/mail/FindWindow.cpp index ad5eac18b9..78d33d368a 100644 --- a/src/apps/mail/FindWindow.cpp +++ b/src/apps/mail/FindWindow.cpp @@ -109,6 +109,7 @@ FindPanel::FindPanel(BRect rect) sPreviousFind.String(), new BMessage(M_FIND_STRING_CHANGED), B_FOLLOW_LEFT_RIGHT | B_FOLLOW_TOP); + fTextControl->SetModificationMessage(new BMessage(M_FIND_STRING_CHANGED)); fTextControl->SetText(sPreviousFind.String()); fTextControl->MakeFocus(); AddChild(fTextControl);