mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-08 15:19:58 +02:00
Fixed workspaces not showing previous tabs
This commit is contained in:
parent
12891ab238
commit
7468f6304c
2 changed files with 9 additions and 1 deletions
|
@ -1790,6 +1790,15 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
|
|||
|
||||
// Fix ctrl+tab behavior. Note, we dont call it with "await" because we dont want to wait for it
|
||||
this._fixCtrlTabBehavior();
|
||||
|
||||
// Bug: When updating from previous versions, we used to hide the tabs not used in the new workspace
|
||||
// we now need to show them again
|
||||
if (onInit) {
|
||||
console.log(this.allStoredTabs);
|
||||
for (const tab of this.allStoredTabs) {
|
||||
gBrowser.showTab(tab);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
async _fixCtrlTabBehavior() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue