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

@@ -106,7 +106,8 @@ var ZenPinnedTabsStorage = {
`
INSERT OR REPLACE INTO zen_pins (
uuid, title, url, container_id, workspace_uuid, position,
is_essential, is_group, parent_uuid, created_at, updated_at
is_essential, is_group, parent_uuid, created_at, updated_at,
edited_title
) VALUES (
:uuid, :title, :url, :container_id, :workspace_uuid, :position,
:is_essential, :is_group, :parent_uuid, :edited_title,

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 {