Quantcast

* Added the localization string, and possible fix for select all

James Whitehead II [02-05-08 - 15:02]
* Added the localization string, and possible fix for select all
Filename
Localization.enUS.lua
PerfectRaid_Frames.lua
diff --git a/Localization.enUS.lua b/Localization.enUS.lua
index 1a7731e..cfa3dae 100644
--- a/Localization.enUS.lua
+++ b/Localization.enUS.lua
@@ -8,6 +8,7 @@ PerfectRaidLocals = {
 	["Aggro"] = "Aggro",
 	["Align frames to BOTTOM"] = "Align frames to BOTTOM",
 	["Align frames to RIGHT"] = "Align frames to RIGHT",
+	["All Classes"] = "All Classes",
 	["Arcane Brilliance"] = "Arcane Brilliance",
 	["Arcane Intellect"] = "Arcane Intellect",
 	["Auto-fill Default"] = "Auto-fill Default",
diff --git a/PerfectRaid_Frames.lua b/PerfectRaid_Frames.lua
index 672eebb..9d592e3 100644
--- a/PerfectRaid_Frames.lua
+++ b/PerfectRaid_Frames.lua
@@ -264,11 +264,11 @@ function Frames:CreateEditFrame(parent)
 	makeCheck(L["Group 8"], "8")
 	makeCheck(L["All Classes"], "IGNORE_ALLCLASS")

-	PRFrameFilter_IGNORE_ALLCLASS:SetScript("OnClick", function(self)
-			local checked = self:GetChecked()
+	PRFrameFilter_IGNORE_ALLCLASS:SetScript("OnClick", function(checkbutton)
+			local checked = checkbutton:GetChecked()

-			for idx,button in ipairs(self.filters) do
-				button:SetChecked(checked)
+			for i=1,9 do
+				self.filters[i]:SetChecked(checked)
 			end
 	end)