diff --git a/src/menu-manager.es6 b/src/menu-manager.es6 index 4c30a27c4..c8c36be75 100644 --- a/src/menu-manager.es6 +++ b/src/menu-manager.es6 @@ -69,7 +69,7 @@ export default class MenuManager { item.enabled = NylasEnv.commands.listenerCountForCommand(item.command) > 0; } if (item.submenu != null) { - item.enabled = item.submenu.every((subitem) => subitem.enabled === false); + item.enabled = !item.submenu.every((subitem) => subitem.enabled === false); } }); return this.sendToBrowserProcess(this.template, NylasEnv.keymaps.getBindingsForAllCommands());