diff --git a/src/zen/sessionstore/ZenSessionManager.sys.mjs b/src/zen/sessionstore/ZenSessionManager.sys.mjs index 89ecc9bbb..2a229daca 100644 --- a/src/zen/sessionstore/ZenSessionManager.sys.mjs +++ b/src/zen/sessionstore/ZenSessionManager.sys.mjs @@ -157,9 +157,9 @@ class nsZenSessionManager { getNewWindowData() { lazy.SessionSaver.run(); - const state = lazy.SessionStore.getCurrentState(forceUpdateAllWindows); + const state = lazy.SessionStore.getCurrentState(true); const windows = state.windows || {}; - let newWindow = { ...Cu.cloneInto(windows[Object.keys(windows)[0]], {}), ...this.#sidebar }; + let newWindow = Cu.cloneInto(windows[0], {}); return { windows: [newWindow] }; } }