addon/Addon/Frames/Settings/OptionsOthersFrame.lua

16 lines
490 B
Lua
Raw Normal View History

function CzechQuestsAddon:AddOthersOptions(optionsFrame)
-- Add DEBUG checkbox
local debugCheckbox = Settings.RegisterAddOnSetting(
optionsFrame,
"CzechQuestsAddon__DEBUG_MODE",
"DEBUG_MODE",
CzechQuestsAddon_Store.config,
type(CzechQuestsAddon_Store.config.DEBUG_MODE),
"Zapnout DEBUG",
CzechQuestsAddon_Store.config.DEBUG_MODE
)
Settings.CreateCheckbox(optionsFrame, debugCheckbox)
end