Invalidate the BTabView when new tabs are added. Works around new tabs not
showing immediately after they have been created, some pages don't set the title either, so then the tab still would't show. git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@193 94f232f2-1747-11df-bad5-a5bfde151594
This commit is contained in:
parent
d54c477ad1
commit
feba54b70c
@ -415,7 +415,7 @@ void LauncherWindow::newTab(const BString& url, bool select)
|
||||
m_tabView->AddTab(webView);
|
||||
m_tabView->TabAt(m_tabView->CountTabs() - 1)->SetLabel("New tab");
|
||||
// TODO: Remove when BTabView is fixed...
|
||||
m_tabView->InvalidateLayout();
|
||||
m_tabView->Invalidate();
|
||||
|
||||
if (url.Length())
|
||||
webView->LoadURL(url.String());
|
||||
|
Loading…
x
Reference in New Issue
Block a user