mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-05 19:08:18 +00:00
Fixed workspaces not showing previous tabs
This commit is contained in:
@@ -131,7 +131,6 @@
|
||||
|
||||
async _refreshPinnedTabs({ init = false } = {}) {
|
||||
await ZenWorkspaces.promiseSectionsInitialized;
|
||||
console.log('Refreshing pinned tabs');
|
||||
await this._initializePinsCache();
|
||||
await this._initializePinnedTabs(init);
|
||||
}
|
||||
|
@@ -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() {
|
||||
|
Reference in New Issue
Block a user