Fixed enable/disable "Find" button
* Fixed during GCI 2011 * Fixed #7983. Signed-off-by: Siarzhuk Zharski <[email protected]>
This commit is contained in:
committed by
Siarzhuk Zharski
parent
35636bd21f
commit
c73d1cf713
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user