Fixed issue with minimap icon showing when disabled
p3lim-52096 [03-25-09 - 20:34]
Fixed issue with minimap icon showing when disabled
git-svn-id: svn://svn.wowinterface.com/pMinimap-54/trunk@85 ae24c21f-2f0c-4c94-9256-0092abe71e0d
diff --git a/pMinimap/pMinimap.lua b/pMinimap/pMinimap.lua
index fa1dfc6..d7c871f 100644
--- a/pMinimap/pMinimap.lua
+++ b/pMinimap/pMinimap.lua
@@ -281,8 +281,10 @@ local function Initialize(self)
TimeManagerClockButton:Hide()
end
- if(not pMinimapDB.mail) then
+ if(pMinimapDB.mail) then
MiniMapMailIcon:Hide()
+ else
+ MiniMapMailText:Hide()
end
end