db search in main menu

This commit is contained in:
Jan Prochazka 2021-09-28 10:10:58 +02:00
parent 1f8021833b
commit 3b15d315ec
2 changed files with 3 additions and 1 deletions

View File

@ -50,6 +50,7 @@ function buildMenu() {
commandItem('file.open'),
commandItem('group.save'),
commandItem('group.saveAs'),
commandItem('database.search'),
{ type: 'separator' },
commandItem('tabs.closeTab'),
commandItem('file.exit'),

View File

@ -5,7 +5,7 @@
id: 'commandPalette.show',
category: 'Command palette',
name: 'Show',
toolbarName: 'Menu',
toolbarName: 'Menu+Search',
toolbarOrder: 0,
keyText: 'F1',
toolbar: true,
@ -18,6 +18,7 @@
registerCommand({
id: 'database.search',
category: 'Database',
toolbarName: 'Database search',
name: 'Search',
keyText: electron ? 'Ctrl+P' : 'F3',
onClick: () => visibleCommandPalette.set('database'),