WoWInterface SVN QualityID

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 13 to Rev 14
    Reverse comparison

Rev 13 → Rev 14

trunk/QualityID/QualityID.lua
1,9 → 1,9
--######################
-- Interface: 30000
-- Title: QIDTest
-- Notes: Displays an items basic info in the color of the item's quality, in the tooltip.
-- License: GNUv2GPL
-- Author: Anaral
--######################
-- Interface: 30000
-- Title: QIDTest
-- Notes: Displays an items basic info in the color of the item's quality, in the tooltip.
-- License: GNUv2GPL
-- Author: Anaral of Lothar
-- Version: 3.05
--#######################
 
115,7 → 115,8
local link = select(2, self:GetItem())
if link and GetItemInfo(link) then
local text = _G[self:GetName() .. 'TextLeft1']
if QIDDB.showIcon and text and text:GetText():sub(1, 2) ~= '|T' then --make sure the icon does not display twice on recipies, which fire OnTooltipSetItem twice
--make sure the icon does not display twice on recipies, which fire OnTooltipSetItem twice
if QIDDB.showIcon and text and text:GetText():sub(1, 2) ~= '|T' then
text:SetFormattedText('|T%s:%d|t%s', GetItemIcon(link), 36, text:GetText())
end
end
trunk/QualityID/QualityID.toc
1,6 → 1,6
## Interface: 30000
## Title: QualityID
## Notes: Displays an items ID and Level in the color of the item's quality.
## Notes: Displays an items basic info in the color of the item's quality, in the tooltip.
## Author: Anaral
## Version: 3.05.wowi:revision
## Saved Variables: QIDDB