From e096ba2d902d3b3be049f981ce346bc1e587a9cb Mon Sep 17 00:00:00 2001 From: Dusk-92 Date: Sun, 6 Sep 2026 08:52:56 +0200 Subject: [PATCH] fix: prevent duplicate mailbox inventory tooltip --- UI/ItemButton.lua | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/UI/ItemButton.lua b/UI/ItemButton.lua index c0c2058..176ea34 100644 --- a/UI/ItemButton.lua +++ b/UI/ItemButton.lua @@ -2501,16 +2501,6 @@ function Guda_ItemButton_OnEnter(self) end end - -- Add Inventory counts for mailbox items at the very bottom - if addon.Modules.Tooltip and addon.Modules.Tooltip.AddInventoryInfo then - local link = self.itemData and (self.itemData.link or (self.itemData.itemID and ("item:" .. self.itemData.itemID .. ":0:0:0"))) - if not link and self.mailIndex and isMailboxOpen then - link = addon.Modules.Utils:GetInboxItemLink(self.mailIndex, self.mailItemIndex or 1) - end - if link then - addon.Modules.Tooltip:AddInventoryInfo(GameTooltip, link) - end - end GameTooltip:Show() return