diff --git a/src/apps/webpositive/LauncherWindow.cpp b/src/apps/webpositive/LauncherWindow.cpp index d1ef7f15eb..6c5100a246 100644 --- a/src/apps/webpositive/LauncherWindow.cpp +++ b/src/apps/webpositive/LauncherWindow.cpp @@ -345,11 +345,9 @@ void LauncherWindow::MessageReceived(BMessage* message) setCurrentWebView(dynamic_cast(m_tabView->ViewForTab(index))); updateTitle(m_tabView->TabAt(index)->Label()); m_url->TextView()->SetText(currentWebView()->mainFrameURL()); -// BWebPage* page = currentWebView()->webPage(); -// bool canGoForward = page->CanGoInDirection(1); -// bool canGoBackward = page->CanGoInDirection(-1); -// navigationCapabilitiesChanged(canGoForward, canGoBackward, false, -// currentWebView()); + // Trigger update of the interface to the new page, by requesting + // to resend all notifications. + currentWebView()->webPage()->ResendNotifications(); break; }