Give focus back to the web view when hiding the Find controls.
git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@463 94f232f2-1747-11df-bad5-a5bfde151594
This commit is contained in:
parent
34da959656
commit
969b9a9669
@ -598,8 +598,11 @@ BrowserWindow::MessageReceived(BMessage* message)
|
||||
fFindTextControl->MakeFocus(true);
|
||||
break;
|
||||
case EDIT_HIDE_FIND_GROUP:
|
||||
if (fFindGroup->IsVisible())
|
||||
if (fFindGroup->IsVisible()) {
|
||||
fFindGroup->SetVisible(false);
|
||||
if (CurrentWebView() != NULL)
|
||||
CurrentWebView()->MakeFocus(true);
|
||||
}
|
||||
break;
|
||||
|
||||
case B_CUT:
|
||||
|
Loading…
Reference in New Issue
Block a user