From 5b62d1a91e9c724d05b90eda50e8e08da7adad1a Mon Sep 17 00:00:00 2001 From: Just van Rossum Date: Fri, 19 Jan 2024 13:50:31 +0100 Subject: [PATCH] Add shortcut command-e to toggle the edit state of all sources --- src/fontra/views/editor/editor.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/fontra/views/editor/editor.js b/src/fontra/views/editor/editor.js index acc3370abe..f5f1586a9d 100644 --- a/src/fontra/views/editor/editor.js +++ b/src/fontra/views/editor/editor.js @@ -785,6 +785,9 @@ export class EditorController { this.registerShortCut("i", { metaKey: true, globalOverride: true }, () => { this.toggleSidebar("selection-info", true); }); + this.registerShortCut("e", { metaKey: true, globalOverride: true }, () => { + this.getSidebarPanel("designspace-navigation").onEditHeaderClick(); + }); for (const menuItem of [ ...this.basicContextMenuItems,