Skip to content

Commit 5b15e47

Browse files
committed
[Fixes #1762] Retail: Fix error caused by :Show call on tooltip
1 parent 4b40c70 commit 5b15e47

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Source/Tooltips/Main.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ function Auctionator.Tooltip.ShowTipWithPricing(tooltipFrame, itemLink, itemCoun
1515
Auctionator.Utilities.DBKeyFromLink(itemLink, function(dbKeys)
1616
waitingForPricing = false
1717
Auctionator.Tooltip.ShowTipWithPricingDBKey(tooltipFrame, dbKeys, itemLink, itemCount)
18+
if Auctionator.Constants.IsClassic then
19+
tooltipFrame:Show()
20+
end
1821
end)
1922
end
2023

@@ -119,8 +122,6 @@ function Auctionator.Tooltip.ShowTipWithPricingDBKey(tooltipFrame, dbKeys, itemL
119122
if millStatus then
120123
Auctionator.Tooltip.AddMillTip(tooltipFrame, millValue, countString)
121124
end
122-
123-
tooltipFrame:Show()
124125
end
125126

126127
-- Each itemEntry in itemEntries should contain

0 commit comments

Comments
 (0)