From ca46767cf2ad85fdf68a6cd255e9a3b27d7820a0 Mon Sep 17 00:00:00 2001 From: Keavon Chambers Date: Sat, 5 Feb 2022 13:49:12 -0800 Subject: [PATCH] Solve "Coming Soon" dialog from bubbled click event on sub-menu entries (#517) --- frontend/src/components/widgets/inputs/MenuBarInput.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/widgets/inputs/MenuBarInput.vue b/frontend/src/components/widgets/inputs/MenuBarInput.vue index 3b7f1142..0ee32485 100644 --- a/frontend/src/components/widgets/inputs/MenuBarInput.vue +++ b/frontend/src/components/widgets/inputs/MenuBarInput.vue @@ -78,6 +78,7 @@ function makeMenuEntries(editor: EditorState): MenuListEntries { { label: "Open Recent", shortcut: ["KeyControl", "KeyShift", "KeyO"], + action: (): void => undefined, children: [ [{ label: "Reopen Last Closed", shortcut: ["KeyControl", "KeyShift", "KeyT"], shortcutRequiresLock: true }, { label: "Clear Recently Opened" }], [ @@ -131,6 +132,7 @@ function makeMenuEntries(editor: EditorState): MenuListEntries { { label: "Deselect All", shortcut: ["KeyControl", "KeyAlt", "KeyA"], action: async (): Promise => editor.instance.deselect_all_layers() }, { label: "Order", + action: (): void => undefined, children: [ [ { @@ -173,7 +175,6 @@ function makeMenuEntries(editor: EditorState): MenuListEntries { [ { label: "Debug: Set Log Level", - // TODO: Remove empty action after merge of (https://github.com/GraphiteEditor/Graphite/pull/338) action: (): void => undefined, children: [ [