WebPositive: fix count of pagesCreated when starting up.

With the new session restore code in WebPositive, it would
restore the session and then open an extra window on top, as
the pagesCreated counter did not add the new window(s) to the
counter, only new tabs.
This commit is contained in:
Jessica Hamilton 2015-11-18 11:02:04 +13:00
parent 6b2059fd19
commit 823513263e

View File

@ -243,6 +243,7 @@ BrowserApp::ReadyToRun()
if (window != NULL) {
window->Show();
pagesCreated++;
for (int j = 1; archivedWindow.FindString("tab", j, &url) == B_OK;
j++) {