Focus address bar when creating a new tab.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@156 94f232f2-1747-11df-bad5-a5bfde151594
This commit is contained in:
anevilyak
2010-02-20 19:59:29 +00:00
parent 75845de732
commit 14ad7bdb25
+1
View File
@@ -338,6 +338,7 @@ void LauncherWindow::MessageReceived(BMessage* message)
m_tabView->TabAt(m_tabView->CountTabs() - 1)->SetLabel("New Tab");
m_tabView->Select(m_tabView->CountTabs() - 1);
navigationCapabilitiesChanged(false, false, false, currentWebView());
m_url->MakeFocus(true);
break;
}