Reset the page icon in the URL input for new tabs.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@487 94f232f2-1747-11df-bad5-a5bfde151594
This commit is contained in:
stippi
2012-07-03 15:44:09 +02:00
committed by Alexandre Deckner
parent ea40bbf2d1
commit e7c6e9f747
+2 -1
View File
@@ -935,8 +935,8 @@ BrowserWindow::CreateNewTab(const BString& _url, bool select, BWebView* webView)
if (CurrentWebView() != NULL)
url = CurrentWebView()->MainFrameURL();
break;
default:
case OpenBlankPage:
default:
break;
}
}
@@ -948,6 +948,7 @@ BrowserWindow::CreateNewTab(const BString& _url, bool select, BWebView* webView)
fTabManager->SelectTab(fTabManager->CountTabs() - 1);
SetCurrentWebView(webView);
webView->WebPage()->ResendNotifications();
fURLInputGroup->SetPageIcon(NULL);
fURLInputGroup->SetText(url.String());
fURLInputGroup->MakeFocus(true);
}