comparison core.lua @ 15:38822958c28a

<>
author Aaron Bregger
date Fri, 13 Aug 2010 14:39:36 -0500
parents 4e7266527ce5
children 8a18dd9f2cec
comparison
equal deleted inserted replaced
14:477aa25a4c36 15:38822958c28a
198 function RecipeProfit:ShowOptions() 198 function RecipeProfit:ShowOptions()
199 LibStub("AceConfigDialog-3.0"):Open("GatherMate") 199 LibStub("AceConfigDialog-3.0"):Open("GatherMate")
200 LibStub("AceConfigDialog-3.0"):SelectGroup("GatherMate", "RecipeProfit") 200 LibStub("AceConfigDialog-3.0"):SelectGroup("GatherMate", "RecipeProfit")
201 end 201 end
202 202
203
203 function button_update(self) 204 function button_update(self)
204 local buttonName = _G[self:GetName().."Name"]; 205 local buttonName = _G[self:GetName().."Name"];
205 local link = GetMerchantItemLink(_G[self:GetName().."ItemButton"]:GetID()); 206 local link = GetMerchantItemLink(_G[self:GetName().."ItemButton"]:GetID());
206 if(not link) then 207 if(not link) then
207 return; 208 return;