From cc0561ac33347381f5b3b736e0216409dfefe537 Mon Sep 17 00:00:00 2001 From: Samuel Meuli Date: Fri, 24 Jan 2020 16:15:02 +0700 Subject: [PATCH] Add shortcuts for "Go to date" and "Go to today" --- src/main/menu/menus/view.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/menu/menus/view.ts b/src/main/menu/menus/view.ts index 3ff18e8b..9f3c3d3c 100644 --- a/src/main/menu/menus/view.ts +++ b/src/main/menu/menus/view.ts @@ -17,6 +17,7 @@ export default function getViewMenu(): MenuItemConstructorOptions { { label: `${translate("go-to-today")}`, id: "goToToday", + accelerator: "CmdOrCtrl+T", click(): void { setDaySelectedToday(); }, @@ -24,6 +25,7 @@ export default function getViewMenu(): MenuItemConstructorOptions { { label: `${translate("go-to-date")}…`, id: "goToDate", + accelerator: "CmdOrCtrl+Shift+T", click(): void { openOverlay("go-to-date"); },