From 14ad7bdb25ce28b1be7d4bdff21f2013df2407c1 Mon Sep 17 00:00:00 2001 From: anevilyak Date: Sat, 20 Feb 2010 19:59:29 +0000 Subject: [PATCH] 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 --- src/apps/webpositive/LauncherWindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/apps/webpositive/LauncherWindow.cpp b/src/apps/webpositive/LauncherWindow.cpp index 12c5c460e9..97a0fbd30a 100644 --- a/src/apps/webpositive/LauncherWindow.cpp +++ b/src/apps/webpositive/LauncherWindow.cpp @@ -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; }