Fix tooltip on extra bags for bank
This commit is contained in:
+2
-5
@@ -575,11 +575,8 @@ function Guda_ItemButton_OnEnter(self)
|
||||
|
||||
-- For other characters or read-only mode, use cached item link
|
||||
if self.otherChar or self.isReadOnly then
|
||||
if self.bagID == -1 then
|
||||
GameTooltip:SetBagItem(self.bagID, self.slotID)
|
||||
elseif self.itemData and self.itemData.link then
|
||||
GameTooltip:SetHyperlink(self.itemData.link)
|
||||
end
|
||||
addon:Print('ATLAS_LOOT_ERROR')
|
||||
GameTooltip:SetBagItem(self.bagID, self.slotID)
|
||||
-- Special handling for bank main bag when bank might be closed
|
||||
elseif self.isBank and self.bagID == -1 then
|
||||
local bankFrame = getglobal("BankFrame")
|
||||
|
||||
Reference in New Issue
Block a user