fix: Fixed pinned tabs not being able to reset, b=(no-bug), c=tabs, workspaces

This commit is contained in:
mr. m
2025-05-08 12:34:41 +02:00
parent 2f03446c37
commit f2e188a86c
2 changed files with 3 additions and 1 deletions

View File

@@ -808,6 +808,7 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
delete this._initialTab;
} else if (this._tabToRemoveForEmpty) {
if (gZenVerticalTabsManager._canReplaceNewTab) {
console.log(this._tabToSelect)
if (this._tabToSelect) {
gBrowser.tabbox.selectedIndex = this._tabToSelect;
} else {