diff 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
line wrap: on
line diff
--- a/Core.lua	Sun Jul 25 15:51:00 2010 -0700
+++ b/Core.lua	Sun Jul 25 15:51:13 2010 -0700
@@ -44,8 +44,11 @@
 	
 	-- /run ItemAuditor.db.profile.show_debug_frame_on_startup = true
 	if self.db.profile.show_debug_frame_on_startup then
-		ItemAuditor_DebugFrame:Show()
-		self:CreateFrame()
+		-- ItemAuditor_DebugFrame:Show()
+		-- self:CreateFrame('tab_crafting')
+		self:RegisterEvent("TRADE_SKILL_SHOW", function()
+			ItemAuditor:CreateFrame('tab_crafting')
+		end)
 	end
 end