From a82e145b1d4abe6a9e1a8220bfbf2df78b75fc39 Mon Sep 17 00:00:00 2001 From: "mr. m" <91018726+mr-cheffy@users.noreply.github.com> Date: Wed, 13 May 2026 23:10:54 +0200 Subject: [PATCH] no-bug: Fixed opening new private windows removing initial tabs (gh-13687) --- src/zen/spaces/ZenSpaceManager.mjs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/zen/spaces/ZenSpaceManager.mjs b/src/zen/spaces/ZenSpaceManager.mjs index b1db3ce0b..3dbd5d32a 100644 --- a/src/zen/spaces/ZenSpaceManager.mjs +++ b/src/zen/spaces/ZenSpaceManager.mjs @@ -811,6 +811,7 @@ class nsZenWorkspaces { delete this._tabToSelect; delete this._tabToRemoveForEmpty; delete this._shouldOverrideTabs; + delete this._initialTab; resolveSelectPromise(); }; @@ -874,15 +875,6 @@ class nsZenWorkspaces { } await selectPromise; - if (this._initialTab) { - this.selectEmptyTab(); - this._removedByStartupPage = true; - gBrowser.removeTab(this._initialTab, { - skipSessionStore: true, - }); - delete this._initialTab; - } - const openOnStartup = Services.prefs.getBoolPref( "zen.urlbar.open-on-startup", true