From 905d77350128f793173166f72a057a00a36a53c4 Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Thu, 14 Oct 2010 20:05:06 +0100 Subject: [PATCH] Fix blizzard frames settings not saving --- BlizzardFrames.lua | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/BlizzardFrames.lua b/BlizzardFrames.lua index 2fbefa3..10d2cc6 100644 --- a/BlizzardFrames.lua +++ b/BlizzardFrames.lua @@ -101,16 +101,16 @@ end function panel.okay() local opt = addon.settings.blizzframes - opt.PlayerFrame = panel.PlayerFrame:GetChecked() - opt.PetFrame = panel.PetFrame:GetChecked() - opt.TargetFrame = panel.TargetFrame:GetChecked() - opt.FocusFrame = panel.FocusFrame:GetChecked() - opt.FocusFrameToT = panel.FocusFrameToT:GetChecked() - opt.arena = panel.arena:GetChecked() - opt.party = panel.party:GetChecked() - opt.compactraid = panel.compactraid:GetChecked() - opt.compactparty = panel.compactparty:GetChecked() - opt.boss = panel.boss:GetChecked() + opt.PlayerFrame = not not panel.PlayerFrame:GetChecked() + opt.PetFrame = not not panel.PetFrame:GetChecked() + opt.TargetFrame = not not panel.TargetFrame:GetChecked() + opt.FocusFrame = not not panel.FocusFrame:GetChecked() + opt.FocusFrameToT = not not panel.FocusFrameToT:GetChecked() + opt.arena = not not panel.arena:GetChecked() + opt.party = not not panel.party:GetChecked() + opt.compactraid = not not panel.compactraid:GetChecked() + opt.compactparty = not not panel.compactparty:GetChecked() + opt.boss = not not panel.boss:GetChecked() end InterfaceOptions_AddCategory(panel) -- 1.7.9.5