From cb90076e7c57bf427b5759db4703cd287c3aedfa Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Sat, 8 Oct 2011 13:08:02 +0100 Subject: [PATCH] Fix frame anchor point dropdown --- PerfectRaid_Frames.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} -- 1.7.9.5