From ff31fcbae670e18d62445d18a2ffb48f0521e702 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 4 Sep 2017 10:02:19 +0300 Subject: [PATCH] feture(key) add ability to extract archives with Alt + F9 --- HELP.md | 1 + client/key.js | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/HELP.md b/HELP.md index 537f0c96..275b1b54 100644 --- a/HELP.md +++ b/HELP.md @@ -142,6 +142,7 @@ Hot keys | `F8`, `Delete` | remove | `Shift + Delete` | remove without prompt | `F9` | menu +| `Alt` + `F9` | extract | `F10` | config | `*` | select/unselect all | `+` | expand selection diff --git a/client/key.js b/client/key.js index 9ee14eb9..846d5997 100644 --- a/client/key.js +++ b/client/key.js @@ -343,7 +343,10 @@ function KeyProto() { break; case Key.F9: - CloudCmd.Menu.show(); + if (alt) + Operation.show('extract'); + else + CloudCmd.Menu.show(); event.preventDefault(); break;