attempt to prevent ghost entries

This commit is contained in:
buzz-lightsnack-2007 2024-05-02 11:13:01 +08:00
parent 40e38b390b
commit 6dab37bf5c

View file

@ -12,6 +12,9 @@ export default class MenuEntry {
Enable the sidebar. Enable the sidebar.
*/ */
enable () { enable () {
// First disable to prevent ghost entries.
this.disable();
this.menu.show(); this.menu.show();
} }