From 77766c56537e63f3275bed432fecb55a1e6613f5 Mon Sep 17 00:00:00 2001 From: ChenX Date: Thu, 14 Jun 2018 09:11:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=85=A5Ctrl+S=20=E4=BF=9D=E5=AD=98?= =?UTF-8?q?=E5=8A=9F=E8=83=BD.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ApplicationServices/Application.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ApplicationServices/Application.ts b/src/ApplicationServices/Application.ts index 5bb42ac93..481653bae 100644 --- a/src/ApplicationServices/Application.ts +++ b/src/ApplicationServices/Application.ts @@ -117,6 +117,10 @@ export class ApplicationService { commandMachine.ExecCommand("PASTECLIP"); } + else if (e.keyCode === KeyBoard.KeyS) + { + commandMachine.ExecCommand("SAVE"); + } app.m_Editor.UpdateScreen(); } })