What's Your Covenant

What's Your Covenant

2M Downloads

Fix for interface options not working.

DakJaniels opened this issue ยท 1 comments

commented

Replace these lines 724, 742, 760, 778, 784, 801 in WhatsYourCovenant/WhatsYourCovenant.lua to fix this error.

1x ...rface/AddOns/WhatsYourCovenant/WhatsYourCovenant.lua:724: CreateFrame(): Couldn't find inherited node "OptionsCheckButtonTemplate"
[string "=[C]"]: in function CreateFrame' [string "@Interface/AddOns/WhatsYourCovenant/WhatsYourCovenant.lua"]:724: in function <...rface/AddOns/WhatsYourCovenant/WhatsYourCovenant.lua:691> [string "@Interface/AddOns/WhatsYourCovenant/WhatsYourCovenant.lua"]:879: in function WhatsYourCovenant_OnLoad'
[string "*WhatsYourCovenant.xml:5_OnLoad"]:1: in function <[string "*WhatsYourCovenant.xml:5_OnLoad"]:1>

Locals:
(*temporary) = "CheckButton"
(*temporary) = "WhatsYourCovenant_UnitTooltipDisplay"
(*temporary) = WhatsYourCovenantOptions {
0 =
default = defined @Interface/AddOns/WhatsYourCovenant/WhatsYourCovenant.lua:695
OnDefault = defined @Interface/AddOns/WhatsYourCovenant/WhatsYourCovenant.lua:695
OnRefresh = defined @Interface/AddOns/WhatsYourCovenant/WhatsYourCovenant.lua:696
refresh = defined @Interface/AddOns/WhatsYourCovenant/WhatsYourCovenant.lua:696
name = "Whats Your Covenant"
}
(*temporary) = "OptionsCheckButtonTemplate"

Line 724: local optionsUnitTooltipDisplay = CreateFrame("CheckButton", "WhatsYourCovenant_UnitTooltipDisplay", options, "InterfaceOptionsCheckButtonTemplate")
Line 742: local optionsContextualTooltipDisplay = CreateFrame("CheckButton", "WhatsYourCovenant_ContextualTooltipDisplay", options, "InterfaceOptionsCheckButtonTemplate")
Line 760: local optionsGroupfinderIconsDisplay = CreateFrame("CheckButton", "WhatsYourCovenant_GroupfinderIconsDisplay", options, "InterfaceOptionsCheckButtonTemplate")
Line 778: local optionsDatabaseBothFactions = CreateFrame("CheckButton", "WhatsYourCovenant_DatabaseBothFactions", options, "InterfaceOptionsCheckButtonTemplate")
Line 784: local optionsDatabaseGeneratePersonal = CreateFrame("CheckButton", "WhatsYourCovenant_DatabaseGeneratePersonal", options, "InterfaceOptionsCheckButtonTemplate")
Line 801: local optionsUsabilityColourise = CreateFrame("CheckButton", "WhatsYourCovenant_UsabilityColourise", options, "InterfaceOptionsCheckButtonTemplate")

commented

Fixed in 620e748