From fb1d9f352ad96489d55f9d29be758e7cb951da94 Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes Date: Sat, 1 Nov 2008 11:59:10 +0100 Subject: [PATCH] Disable the Minimap Button option in the config if LDBIcon was not found --- Omen.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/Omen.lua b/Omen.lua index ab448e8..fe3707e 100644 --- a/Omen.lua +++ b/Omen.lua @@ -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",