Author: stippi Date: Mon Apr 26 15:44:32 2010 New Revision: 463 URL: http://mmlr.dyndns.org/changeset/463 Log: Give focus back to the web view when hiding the Find controls. Modified: webkit/trunk/WebKit/haiku/WebPositive/BrowserWindow.cpp Modified: webkit/trunk/WebKit/haiku/WebPositive/BrowserWindow.cpp ============================================================================== --- webkit/trunk/WebKit/haiku/WebPositive/BrowserWindow.cpp Mon Apr 26 15:13:57 2010 (r462) +++ webkit/trunk/WebKit/haiku/WebPositive/BrowserWindow.cpp Mon Apr 26 15:44:32 2010 (r463) @@ -598,8 +598,11 @@ 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: