From 6dab37bf5c1e42151738c6de2bf687a00fb8d443 Mon Sep 17 00:00:00 2001 From: buzz-lightsnack-2007 <73412182+buzz-lightsnack-2007@users.noreply.github.com> Date: Thu, 2 May 2024 11:13:01 +0800 Subject: [PATCH] attempt to prevent ghost entries --- scripts/GUI/entrypoints/menuentry.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/GUI/entrypoints/menuentry.js b/scripts/GUI/entrypoints/menuentry.js index 978f9e6..309e409 100644 --- a/scripts/GUI/entrypoints/menuentry.js +++ b/scripts/GUI/entrypoints/menuentry.js @@ -12,6 +12,9 @@ export default class MenuEntry { Enable the sidebar. */ enable () { + // First disable to prevent ghost entries. + this.disable(); + this.menu.show(); }