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:
parent
6b2059fd19
commit
823513263e
@ -243,6 +243,7 @@ BrowserApp::ReadyToRun()
|
||||
|
||||
if (window != NULL) {
|
||||
window->Show();
|
||||
pagesCreated++;
|
||||
|
||||
for (int j = 1; archivedWindow.FindString("tab", j, &url) == B_OK;
|
||||
j++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user