From 930848e03def9142df15628d8148380f0fcf43f6 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Sun, 2 Mar 2014 13:50:52 +0400 Subject: [PATCH] woops 2 --- ElvUI_SLE/modules/characterframe/options.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ElvUI_SLE/modules/characterframe/options.lua b/ElvUI_SLE/modules/characterframe/options.lua index c3ffd7d..5811884 100755 --- a/ElvUI_SLE/modules/characterframe/options.lua +++ b/ElvUI_SLE/modules/characterframe/options.lua @@ -65,7 +65,7 @@ local function configTable() ['SPACE'] = 'Space', ['CUSTOM'] = L["Custom"], }, - get = function() return E.db.sle.characterframeoptions.image.dropdown end, + get = function() return E.db.sle.characterframeoptions.image.dropdown ~= "CUSTOM" end, set = function(_, value) E.db.sle.characterframeoptions.image.dropdown = value; CFO:ArmoryFrame_DataSetting(); end, @@ -77,7 +77,7 @@ local function configTable() width = 'full', name = L["Texture"], desc = L["Set the texture to use in this frame. Requirements are the same as the chat textures."], - disabled = function() return E.db.sle.characterframeoptions.image.dropdown ~= "CUSTOM" and not E.db.sle.characterframeoptions.showimage end, + disabled = function() return E.db.sle.characterframeoptions.image.dropdown ~= "CUSTOM" or not E.db.sle.characterframeoptions.showimage end, set = function(info, value) E.db.sle.characterframeoptions.image.custom = value; CFO:ArmoryFrame_DataSetting(); -- 1.7.9.5