From 3d4262b8d279f65484e34f05649eb4e1bd31dceb Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Tue, 2 Jan 2007 16:04:13 +0000 Subject: [PATCH] * Final cleanup and testing of the "disabled" checkbutton --- PerfectRaid_Buffs.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/PerfectRaid_Buffs.lua b/PerfectRaid_Buffs.lua index c7ec0e7..7b2abb9 100644 --- a/PerfectRaid_Buffs.lua +++ b/PerfectRaid_Buffs.lua @@ -448,9 +448,15 @@ function Buffs:CreateEditFrame(parent) save:SetScript("OnClick", function() self:SaveEntry() end) save:Show() + local missing = CreateFrame("CheckButton", "PRBuffs_Missing", PROptions_Buffs_Edit, "PRCheckTemplate") + missing.Label:SetText("Only show if this buff is missing") + missing:SetPoint("BOTTOMLEFT", 0, 10) + missing:Show() + frame.missing = missing + local disabled = CreateFrame("CheckButton", "PRBuffs_Disabled", PROptions_Buffs_Edit, "PRCheckTemplate") disabled.Label:SetText("Do not check this buff (Disable)") - disabled:SetPoint("BOTTOMLEFT", save, "TOPLEFT", 0, 10) + disabled:SetPoint("BOTTOMLEFT", missing, "TOPLEFT", 0, 10) disabled:Show() frame.disabled = disabled end -- 1.7.9.5