Skip to content

Commit

Permalink
WebPositive: fix count of pagesCreated when starting up.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jessicah committed Nov 17, 2015
1 parent 6b2059f commit 8235132
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/apps/webpositive/BrowserApp.cpp
Expand Up @@ -243,6 +243,7 @@ BrowserApp::ReadyToRun()

if (window != NULL) {
window->Show();
pagesCreated++;

for (int j = 1; archivedWindow.FindString("tab", j, &url) == B_OK;
j++) {
Expand Down

0 comments on commit 8235132

Please sign in to comment.