Skip to content

Commit d8db23a

Browse files
author
LocalIdentity
committed
Fix crash on hovering over calcs tab breakdowns
1 parent 3458d28 commit d8db23a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Classes/ItemsTab.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4041,7 +4041,8 @@ function ItemsTabClass:AddItemTooltip(tooltip, item, slot, dbMode)
40414041
-- tooltips only for affected slots" checked, we can just compare that
40424042
-- one slot
40434043
if main.slotOnlyTooltips and slot then
4044-
addCompareForSlot(slot)
4044+
slot = type(slot) ~= "string" and slot or self.slots[slot]
4045+
if slot then addCompareForSlot(slot) end
40454046
return
40464047
end
40474048

0 commit comments

Comments
 (0)