Fix: Open new tab when last unpinned tab is closed in workspace and no pinned tabs are loaded

Added a preference to keep default behavior or apply the new one.
This commit is contained in:
Kristijan Ribarić
2024-10-20 17:44:14 +02:00
parent b9dd88e30f
commit 15ddd0f680
3 changed files with 24 additions and 4 deletions

View File

@@ -1066,4 +1066,9 @@ Preferences.addAll([
type: 'bool',
default: true,
},
{
id: 'zen.workspaces.open-new-tab-if-last-unpinned-tab-is-closed',
type: 'bool',
default: true,
},
]);