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:
committed by
Alexandre Deckner
parent
34da959656
commit
969b9a9669
@@ -598,8 +598,11 @@ BrowserWindow::MessageReceived(BMessage* message)
|
|||||||
fFindTextControl->MakeFocus(true);
|
fFindTextControl->MakeFocus(true);
|
||||||
break;
|
break;
|
||||||
case EDIT_HIDE_FIND_GROUP:
|
case EDIT_HIDE_FIND_GROUP:
|
||||||
if (fFindGroup->IsVisible())
|
if (fFindGroup->IsVisible()) {
|
||||||
fFindGroup->SetVisible(false);
|
fFindGroup->SetVisible(false);
|
||||||
|
if (CurrentWebView() != NULL)
|
||||||
|
CurrentWebView()->MakeFocus(true);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case B_CUT:
|
case B_CUT:
|
||||||
|
|||||||
Reference in New Issue
Block a user