Quantcast

* Changed default mode to advanced

James Whitehead II [12-23-06 - 20:59]
* Changed default mode to advanced
* Fixed an iteration bug
Filename
PerfectRaid.lua
diff --git a/PerfectRaid.lua b/PerfectRaid.lua
index 7db6f3c..9cb768b 100644
--- a/PerfectRaid.lua
+++ b/PerfectRaid.lua
@@ -1,4 +1,4 @@
- --[[-------------------------------------------------------------------------
+--[[-------------------------------------------------------------------------
   Copyright (c) 2006, Jim Whitehead II <cladhaire@gmail.com>
   All rights reserved.

@@ -47,7 +47,7 @@ function PerfectRaid:Initialize()
 				voffset = 15,
 				titles = true,
 			},
-			mode = "double",
+			mode = "advanced",
 		},
 	}

@@ -555,7 +555,7 @@ function PerfectRaid:ShowHideTitles()
 	end

 	if self.headers then
-		for i,frame in pairs(self.column) do
+		for i,frame in pairs(self.headers) do
 			local active
 			for i=1,frame:GetNumChildren() do
 				local button = frame:GetAttribute("Child"..i)