Mercurial > wow > itemauditor
comparison Core.lua @ 59:4ec321eb0dfe
Adding a crafing tab to the ItemAuditor window.
author | Asa Ayers <Asa.Ayers@Gmail.com> |
---|---|
date | Sun, 25 Jul 2010 15:51:13 -0700 |
parents | bdf3aba93aa9 |
children | e7d287cc3b02 |
comparison
equal
deleted
inserted
replaced
58:bdf3aba93aa9 | 59:4ec321eb0dfe |
---|---|
42 self:RegisterOptions() | 42 self:RegisterOptions() |
43 ItemAuditor:RegisterFrame(ItemAuditor_DebugFrame) | 43 ItemAuditor:RegisterFrame(ItemAuditor_DebugFrame) |
44 | 44 |
45 -- /run ItemAuditor.db.profile.show_debug_frame_on_startup = true | 45 -- /run ItemAuditor.db.profile.show_debug_frame_on_startup = true |
46 if self.db.profile.show_debug_frame_on_startup then | 46 if self.db.profile.show_debug_frame_on_startup then |
47 ItemAuditor_DebugFrame:Show() | 47 -- ItemAuditor_DebugFrame:Show() |
48 self:CreateFrame() | 48 -- self:CreateFrame('tab_crafting') |
49 self:RegisterEvent("TRADE_SKILL_SHOW", function() | |
50 ItemAuditor:CreateFrame('tab_crafting') | |
51 end) | |
49 end | 52 end |
50 end | 53 end |
51 | 54 |
52 local registeredEvents = {} | 55 local registeredEvents = {} |
53 local originalRegisterEvent = addon.RegisterEvent | 56 local originalRegisterEvent = addon.RegisterEvent |