From d7de24b9e490489984ab0fa138f52ffc6e32f14f Mon Sep 17 00:00:00 2001 From: ckaotik Date: Thu, 11 Feb 2010 08:09:41 +0100 Subject: [PATCH] Missing list items fixed, uncommented desaturating of global items --- options.lua | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/options.lua b/options.lua index 21e7f1f..1837122 100644 --- a/options.lua +++ b/options.lua @@ -524,10 +524,17 @@ local function ShowOptions(frame) -- this is an explicit item _, itemLink, _, _, _, _, _, _, _, texture, _ = GetItemInfo(itemID) end - button.itemID = itemID - button.itemLink = itemLink - button:SetNormalTexture(texture) - --button:GetNormalTexture():SetDesaturated(globalList[itemID] or false) -- desaturate global list items + + -- blizzard removes GetItemInfo for seasonal items ... + if texture then + button.itemID = itemID + button.itemLink = itemLink + button:SetNormalTexture(texture) + button:GetNormalTexture():SetDesaturated(globalList[itemID] or false) -- desaturate global list items + else + button.itemID = itemID + button.tiptext = "ID: "..itemID + end button:SetChecked(false) button:Show() else -- 1.7.9.5