Mercurial > wow > wowdb-profiler
changeset 94:75751f08d9f5
Account for sub headers in the TradeSkill window.
author | James D. Callahan III <jcallahan@curse.com> |
---|---|
date | Wed, 29 Aug 2012 11:17:15 -0500 |
parents | 526e78d7ce51 |
children | c4172766561f |
files | Main.lua |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Main.lua Tue Aug 28 22:20:18 2012 -0500 +++ b/Main.lua Wed Aug 29 11:17:15 2012 -0500 @@ -1363,7 +1363,7 @@ for tradeskill_index = 1, _G.GetNumTradeSkills() do local name, tradeskill_type, _, is_expanded = _G.GetTradeSkillInfo(tradeskill_index) - if tradeskill_type == "header" then + if tradeskill_type == "header" or tradeskill_type == "subheader" then if not is_expanded then header_list[name] = true _G.ExpandTradeSkillSubClass(tradeskill_index) @@ -1521,6 +1521,7 @@ private.tracked_line = spell_line end + function WDP:UNIT_SPELLCAST_SUCCEEDED(event_name, unit_id, spell_name, spell_rank, spell_line, spell_id) if unit_id ~= "player" then return