diff --git a/src/headerbarBase.js b/src/headerbarBase.js index 24f45d8f..ffa59d0a 100644 --- a/src/headerbarBase.js +++ b/src/headerbarBase.js @@ -151,7 +151,7 @@ class ClapperHeaderBarBase extends Gtk.Box for(let name of layoutArr) { /* Menu might be named "appmenu" */ - if(!menuAdded && name === 'appmenu') + if(!menuAdded && (!name || name === 'appmenu')) name = 'menu'; const widget = this[`${name}Widget`];