fixed createCheckBox call
Alex Shubert [10-06-13 - 16:32]
fixed createCheckBox call
diff --git a/ui/main_options.lua b/ui/main_options.lua
index 52798bd..3bec513 100644
--- a/ui/main_options.lua
+++ b/ui/main_options.lua
@@ -31,6 +31,7 @@ local function CreateCheckbox(name, marginx, marginy)
local cb = CreateFrame("CheckButton", nm, OptionsPanel, "OptionsCheckButtonTemplate")
_G[nm.."Text"]:SetText(L[name])
cb:SetPoint("TOPLEFT", OptionsPanel, "BOTTOMLEFT", marginx, marginy)
+
cb:SetScript("OnClick", function(self)
ptable.TempConfig[name] = self:GetChecked() == 1
end)