diff Modules/DisplayInvested.lua @ 38:e27d13095b49

Added the ability to suspend and resume ItemAuditor (Ticket #8). To access this feature use "/ia suspend".
author Asa Ayers <Asa.Ayers@Gmail.com>
date Sun, 18 Jul 2010 22:46:35 -0700
parents aaa716c93fb2
children 60ab9a4d2de1
line wrap: on
line diff
--- a/Modules/DisplayInvested.lua	Sun Jul 18 21:32:15 2010 -0700
+++ b/Modules/DisplayInvested.lua	Sun Jul 18 22:46:35 2010 -0700
@@ -65,6 +65,7 @@
 
 	if not promptFrame then
 		promptFrame = AceGUI:Create("Frame")
+		ItemAuditor:RegisterFrame(promptFrame)
 
 		local window = promptFrame.frame;
 		local width = 345
@@ -189,6 +190,7 @@
 	if not displayFrame then
 		-- Create the frame container
 		displayFrame = AceGUI:Create("Frame")
+		ItemAuditor:RegisterFrame(displayFrame)
 		local window = displayFrame.frame;
 		displayFrame:SetTitle("ItemAuditor")
 		displayFrame:SetStatusText("")