#238 menu command - close tabs x current DB

This commit is contained in:
Jan Prochazka
2022-03-03 11:28:16 +01:00
parent fac78afa31
commit be90241091
2 changed files with 41 additions and 3 deletions

View File

@@ -22,8 +22,10 @@ module.exports = [
{
label: 'Window',
submenu: [
{ command: 'tabs.closeTab', hideDisabled: true },
{ command: 'tabs.closeAll', hideDisabled: true },
{ command: 'tabs.closeTab', hideDisabled: false },
{ command: 'tabs.closeAll', hideDisabled: false },
{ command: 'tabs.closeTabsWithCurrentDb', hideDisabled: false },
{ command: 'tabs.closeTabsButCurrentDb', hideDisabled: false },
{ divider: true },
{ command: 'app.zoomIn', hideDisabled: true },
{ command: 'app.zoomOut', hideDisabled: true },