attempt to prevent ghost entries
This commit is contained in:
parent
40e38b390b
commit
6dab37bf5c
1 changed files with 3 additions and 0 deletions
|
@ -12,6 +12,9 @@ export default class MenuEntry {
|
|||
Enable the sidebar.
|
||||
*/
|
||||
enable () {
|
||||
// First disable to prevent ghost entries.
|
||||
this.disable();
|
||||
|
||||
this.menu.show();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue