* Final cleanup and testing of the "disabled" checkbutton
James Whitehead II [01-02-07 - 16:04]
* Final cleanup and testing of the "disabled" checkbutton
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