Disable the Minimap Button option in the config if LDBIcon was not found

This commit is contained in:
Hendrik Leppkes
2008-11-01 11:59:10 +01:00
committed by Xinhuan
parent 1b57bf66c3
commit fb1d9f352a
+1
View File
@@ -1764,6 +1764,7 @@ local options = {
db.MinimapIcon.hide = not value
if value then LDBIcon:Show("Omen") else LDBIcon:Hide("Omen") end
end,
disabled = function() return not LDBIcon end,
},
IgnorePlayerPets = {
type = "toggle",