Ticket 370 and also make the reset button non-accessible when you don't have tomtom
ackis [02-18-09 - 03:44]
Ticket 370 and also make the reset button non-accessible when you don't have tomtom
diff --git a/ARLConfig.lua b/ARLConfig.lua
index 4ea7937..8ca0128 100644
--- a/ARLConfig.lua
+++ b/ARLConfig.lua
@@ -1200,7 +1200,7 @@ local function fullOptions()
type = "toggle",
name = L["World Map"],
desc = L["WORLDMAP_DESC"],
- disable = tomtomsupport,
+ disabled = tomtomsupport,
get = function() return addon.db.profile.worldmap end,
set = function() addon.db.profile.worldmap = not addon.db.profile.worldmap end,
},
@@ -1209,7 +1209,7 @@ local function fullOptions()
type = "toggle",
name = L["Mini Map"],
desc = L["MINIMAP_DESC"],
- disable = tomtomsupport,
+ disabled = tomtomsupport,
get = function() return addon.db.profile.minimap end,
set = function() addon.db.profile.minimap = not addon.db.profile.minimap end,
},
@@ -1217,6 +1217,7 @@ local function fullOptions()
order = 65,
type = "execute",
name = L["Clear Waypoints"],
+ disabled = tomtomsupport,
desc = L["CLEAR_WAYPOINTS_DESC"],
func = function(info) addon:ClearMap() end,
},