Quantcast

Fix frame anchor point dropdown

James Whitehead II [10-08-11 - 12:08]
Fix frame anchor point dropdown
Filename
PerfectRaid_Frames.lua
diff --git a/PerfectRaid_Frames.lua b/PerfectRaid_Frames.lua
index 55d47e1..64797a6 100644
--- a/PerfectRaid_Frames.lua
+++ b/PerfectRaid_Frames.lua
@@ -312,7 +312,7 @@ function Frames:CreateEditFrame(parent)
 	frame.colSpacing = colSpacing

 	local colAnchorDropDown = CreateFrame("Frame", "PRFrames_ColAnchorDropDown", frame, "UIDropDownMenuTemplate")
-	local clickFunc = function() UIDropDownMenu_SetSelectedValue(colAnchorDropDown, self.value) end
+	local clickFunc = function(self) UIDropDownMenu_SetSelectedValue(colAnchorDropDown, self.value) end
 	local points = {"TOP", "TOPLEFT", "TOPRIGHT", "LEFT", "RIGHT", "BOTTOM", "BOTTOMLEFT", "BOTTOMRIGHT"}
 	colAnchorDropDown.Initialize = function()
 		UIDropDownMenu_AddButton{text = L["None"], value = -1, func = clickFunc}