diff --git a/src/apps/webpositive/LauncherWindow.cpp b/src/apps/webpositive/LauncherWindow.cpp index 5fc38abc75..fe5f9b2c8a 100644 --- a/src/apps/webpositive/LauncherWindow.cpp +++ b/src/apps/webpositive/LauncherWindow.cpp @@ -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());