Fixed workspaces dialog

This commit is contained in:
mauro-balades 2024-10-05 23:25:26 +02:00
parent 7ebaed73c0
commit 775b5288fb
No known key found for this signature in database
GPG key ID: CBD57A2AEDBDA1FB
2 changed files with 6 additions and 4 deletions

View file

@ -801,9 +801,10 @@ var gZenKeyboardShortcutsManager = {
}
key.remove();
}
if (mainKeyset.children.length > 0) {
throw new Error('Child list not empty');
}
// We dont check this anymore since we are skiping internal keys
//if (mainKeyset.children.length > 0) {
// throw new Error('Child list not empty');
//}
for (let key of this._currentShortcutList) {
if (key.isEmpty() || key.isInternal()) {