mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 05:29:20 +03:00
Added Ctrl/Meta + F to open advanced search screen
Cleanup search field onEnter
This commit is contained in:
parent
e0498895bc
commit
6f2f5bce86
11 changed files with 73 additions and 71 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { doc } from 'Common/Globals';
|
||||
import { doc, addShortcut } from 'Common/Globals';
|
||||
import { AbstractViewPopup } from 'Knoin/AbstractViews';
|
||||
|
||||
export class OpenPgpKeyPopupView extends AbstractViewPopup {
|
||||
|
|
@ -118,7 +118,7 @@ export class OpenPgpKeyPopupView extends AbstractViewPopup {
|
|||
}
|
||||
|
||||
onBuild() {
|
||||
shortcuts.add('a', 'meta', 'OpenPgpKey', () => {
|
||||
addShortcut('a', 'meta', 'OpenPgpKey', () => {
|
||||
this.selectKey();
|
||||
return false;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue