/trunk
hooksecurefunc("TradeSkillFrame_SetSelection", function(id) |
for i = 1, GetTradeSkillNumReagents(id) do |
local name, texture, needed, quantity = GetTradeSkillReagentInfo(id, i) |
if name and tTexture then |
if name and texture then |
SetReagentCount(_G["TradeSkillReagent"..i], quantity, needed) |
end |
end |