comparison Options.lua @ 133:a0894ffebd15 v62

Bug fixes and tweaks for 8.0.
author yellowfive
date Wed, 25 Jul 2018 12:17:24 -0700
parents e31b02b24488
children a3507735dfd9
comparison
equal deleted inserted replaced
132:2279d58793c6 133:a0894ffebd15
37 Amr.db.profile.minimap.hide = val 37 Amr.db.profile.minimap.hide = val
38 else 38 else
39 Amr.db.profile.options[setting] = val 39 Amr.db.profile.options[setting] = val
40 end 40 end
41 41
42 Amr:RefreshConfig()
43 end
44
45 local function onChkMinimapClick()
46 Amr.db.profile.minimap.hide = _chkMinimap:GetChecked()
47 Amr:RefreshConfig() 42 Amr:RefreshConfig()
48 end 43 end
49 44
50 local function createCheck(container, setting, text, description) 45 local function createCheck(container, setting, text, description)
51 46