diff --git a/src/Classes/ItemsTab.lua b/src/Classes/ItemsTab.lua index 7171ea2db2..b6a1879876 100644 --- a/src/Classes/ItemsTab.lua +++ b/src/Classes/ItemsTab.lua @@ -4485,9 +4485,10 @@ function ItemsTabClass:AddItemTooltip(tooltip, item, slot, dbMode, maxWidth) end end -- Stat differences + local itemTabHint = self.build.viewMode == "ITEMS" and "" or " in the Items tab" if not self.showStatDifferences then tooltip:AddSeparator(14) - tooltip:AddLine(14, colorCodes.TIP.."Tip: Press Ctrl+D to enable the display of stat differences.") + tooltip:AddLine(14, colorCodes.TIP.."Tip: Press Ctrl+D"..itemTabHint.." to enable the display of stat differences.") return end local calcFunc, calcBase = self.build.calcsTab:GetMiscCalculator() @@ -4745,7 +4746,7 @@ function ItemsTabClass:AddItemTooltip(tooltip, item, slot, dbMode, maxWidth) end end - tooltip:AddLine(14, colorCodes.TIP .. "Tip: Press Ctrl+D to disable the display of stat differences.") + tooltip:AddLine(14, colorCodes.TIP .. "Tip: Press Ctrl+D"..itemTabHint.." to disable the display of stat differences.") local function getReplacedItemAndOutput(compareSlot) local selItem = self.items[compareSlot.selItemId]