diff options
-rw-r--r-- | ui.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.js b/ui.js index 0bd512a..04c65c0 100644 --- a/ui.js +++ b/ui.js @@ -4175,7 +4175,7 @@ class Menubar extends ListScrollForm { button.on('pressed', () => { this.contextMenu = this.showContextMenu({ x: container.absLeft, y: container.absY + 1, - items: menuFn + items: menuFn || menuItems }) this.contextMenu.on('closed', () => { this.contextMenu = null |