diff --git a/exec/load/dd_lightbar_menu.js b/exec/load/dd_lightbar_menu.js index 38cf064844767d337406a6c8a76220abe780f9b1..b4ace2b92506e5f6c7777ef00bcfd21eafd1770c 100644 --- a/exec/load/dd_lightbar_menu.js +++ b/exec/load/dd_lightbar_menu.js @@ -1576,8 +1576,8 @@ function DDLightbarMenu_GetItemText(pIdx, pItemLen, pHighlight, pSelected) var currentTextLen = itemTextDisplayableLen(itemText, this.ampersandHotkeysInItems); if (currentTextLen < itemLen) itemText += format("%" + +(itemLen-currentTextLen) + "s", ""); // Append spaces to the end of itemText - // If in numbered mode, prepend the item number to the front of the item text. - if (this.numberedMode) + // If in numbered mode and the item is selectable, prepend the item number to the front of the item text. + if (this.numberedMode && menuItem.isSelectable) { if (this.itemNumLen == 0) this.itemNumLen = numItems.toString().length;