From e9207e6b77f53cb91855277b2bd945096e1f44e9 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Fri, 6 Mar 2015 02:32:18 +0400 Subject: [PATCH] yeah, inspect too --- ElvUI_SLE/modules/characterframe/inspectframe.lua | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ElvUI_SLE/modules/characterframe/inspectframe.lua b/ElvUI_SLE/modules/characterframe/inspectframe.lua index 8d2275e..33fcbbe 100644 --- a/ElvUI_SLE/modules/characterframe/inspectframe.lua +++ b/ElvUI_SLE/modules/characterframe/inspectframe.lua @@ -1898,9 +1898,11 @@ function IA:InspectFrame_DataSetting(DataTable) end ]] if not IsEnchanted and C.EnchantableSlots[SlotName] then - ErrorDetected = true - Slot.EnchantWarning:Show() - Slot.Gradation.ItemEnchant:SetText('|cffff0000'..L['Not Enchanted']) + if IType == "INVTYPE_WEAPON" or IType == "INVTYPE_RANGEDRIGHT" then + ErrorDetected = true + Slot.EnchantWarning:Show() + Slot.ItemEnchant:SetText('|cffff0000'..L['Not Enchanted']) + end end if GemCount_Enable > GemCount_Now or GemCount_Enable > GemCount or GemCount_Now > GemCount then -- 1.7.9.5