mirror of
https://github.com/zen-browser/desktop.git
synced 2026-08-12 17:55:19 +00:00
feat: Make sure to not lose any tabs when opening from a private window, b=no-bug, c=workspaces
This commit is contained in:
@@ -934,6 +934,8 @@ class nsZenWorkspaces extends nsZenMultiWindowFeature {
|
||||
let activeWorkspace = await this.getActiveWorkspace();
|
||||
this.activeWorkspace = activeWorkspace?.uuid;
|
||||
await gZenSessionStore.promiseInitialized;
|
||||
await window._zenPromiseNewWindowRestored;
|
||||
delete window._zenPromiseNewWindowRestored;
|
||||
try {
|
||||
if (activeWorkspace) {
|
||||
window.gZenThemePicker = new nsZenThemePicker();
|
||||
|
||||
Reference in New Issue
Block a user