diff ObjectiveTracker.lua @ 3:3397aae1f44d

- use the correct key value when searching for action buttons - handle pre-built frames from XML
author Nenue
date Thu, 31 Mar 2016 07:32:05 -0400
parents a2396b03ce63
children
line wrap: on
line diff
--- a/ObjectiveTracker.lua	Thu Mar 31 01:38:47 2016 -0400
+++ b/ObjectiveTracker.lua	Thu Mar 31 07:32:05 2016 -0400
@@ -202,11 +202,6 @@
   if not isHandled then
     print('|cFFFF4400'..event..'|r', ...)
   end
-  --@debug@
-  if Devian and Devian.InWorkspace() then
-    frame_guide_init(Scroller)
-    frame_guide(Scroller, Scroller)
-  end
 end
 
 mod.SetEvents = function()
@@ -223,7 +218,7 @@
 
 function mod:OnInitialize()
   self.InitializeTrackers()
-
+  self.InitializeXPTracker()
   mod.SetEvents()
   ObjectiveTrackerFrame:UnregisterAllEvents()
   ObjectiveTrackerFrame:Hide()