1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-24 11:55:50 +01:00

temp: remove global shortcut to focusSearch

resolves #402
This commit is contained in:
Kyle Spearrin 2020-03-11 09:56:51 -04:00
parent 39178bd05d
commit e8c03e30ba

View File

@ -44,23 +44,25 @@ export class Main {
}
app.on('ready', () => {
globalShortcut.register('CommandOrControl+Shift+L', async () => {
if (this.windowMain.win === null) {
await this.windowMain.createWindow();
}
/*
globalShortcut.register('CommandOrControl+Shift+L', async () => {
if (this.windowMain.win === null) {
await this.windowMain.createWindow();
}
this.messagingService.send('focusSearch');
this.windowMain.win.show();
});
this.messagingService.send('focusSearch');
this.windowMain.win.show();
});
*/
globalShortcut.register('CommandOrControl+Shift+G', async () => {
if (this.windowMain.win === null) {
await this.windowMain.createWindow();
}
globalShortcut.register('CommandOrControl+Shift+G', async () => {
if (this.windowMain.win === null) {
await this.windowMain.createWindow();
}
this.messagingService.send('openPasswordGenerator');
this.windowMain.win.show();
});
this.messagingService.send('openPasswordGenerator');
this.windowMain.win.show();
});
});
if (appDataPath != null) {