Mercurial > wow > askmrrobot
diff Options.lua @ 91:b8e9664d3229 v43
option to disable equipment manager sets, minor artifact/talent bug fixes
author | yellowfive |
---|---|
date | Wed, 21 Sep 2016 00:14:22 -0700 |
parents | cf2b6b9a8337 |
children | f1da233629be |
line wrap: on
line diff
--- a/Options.lua Sun Sep 18 21:49:46 2016 -0700 +++ b/Options.lua Wed Sep 21 00:14:22 2016 -0700 @@ -5,6 +5,7 @@ local _chkMinimap local _chkAutoGear local _chkAh +local _chkEm local _txtScale local function onTextboxEnter(widget) @@ -113,8 +114,11 @@ _chkAh, desc = createCheck(container, "shopAh", L.OptionsShopAhName, L.OptionsShopAhDesc) _chkAh:SetPoint("TOPLEFT", desc2.frame, "BOTTOMLEFT", -24, -20) - _txtScale, desc2 = createSmallTextbox(container, "uiScale", L.OptionsUiScaleName, L.OptionsUiScaleDesc) - _txtScale:SetPoint("TOPLEFT", desc.frame, "BOTTOMLEFT", -43, -20) + _chkEm, desc2 = createCheck(container, "disableEm", L.OptionsDisableEmName, L.OptionsDisableEmDesc) + _chkEm:SetPoint("TOPLEFT", desc.frame, "BOTTOMLEFT", -24, -20) + + _txtScale, desc = createSmallTextbox(container, "uiScale", L.OptionsUiScaleName, L.OptionsUiScaleDesc) + _txtScale:SetPoint("TOPLEFT", desc2.frame, "BOTTOMLEFT", -43, -20) -- initialize state of controls Amr:RefreshOptionsUi() @@ -138,6 +142,10 @@ _chkAh:SetChecked(self.db.profile.options.shopAh) end + if _chkEm then + _chkEm:SetChecked(self.db.profile.options.disableEm) + end + if _txtScale then _txtScale:SetText(self.db.profile.options.uiScale) _txtScale:ClearFocus()