From 4c8007ad367546a8c2aae38fcb042b2a6a726445 Mon Sep 17 00:00:00 2001 From: Luckyone Date: Tue, 28 Jan 2025 00:12:51 +0100 Subject: [PATCH] Hide prof quality tab in non-Retail --- ElvUI_Options/Core/ActionBars.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ElvUI_Options/Core/ActionBars.lua b/ElvUI_Options/Core/ActionBars.lua index 6d0274bbe4..34858be516 100644 --- a/ElvUI_Options/Core/ActionBars.lua +++ b/ElvUI_Options/Core/ActionBars.lua @@ -102,7 +102,7 @@ macroTextGroup.args.macroFontSize = ACH:Range(L["Font Size"], nil, 9, C.Values.F macroTextGroup.args.macroFontOutline = ACH:FontFlags(L["Font Outline"], nil, 10) SharedBarOptions.macroTextGroup = macroTextGroup -local professionQuality = ACH:Group(L["Profession Quality"], nil, 70, nil, function(info) return E.db.actionbar[info[#info-2]].professionQuality[info[#info]] end, function(info, value) E.db.actionbar[info[#info-2]].professionQuality[info[#info]] = value AB:UpdateButtonSettings(info[#info-2]) end) +local professionQuality = ACH:Group(L["Profession Quality"], nil, 70, nil, function(info) return E.db.actionbar[info[#info-2]].professionQuality[info[#info]] end, function(info, value) E.db.actionbar[info[#info-2]].professionQuality[info[#info]] = value AB:UpdateButtonSettings(info[#info-2]) end, nil, not E.Retail) professionQuality.args.enable = ACH:Toggle(L["Enable"], nil, 0, nil, nil, nil, nil, nil, nil, false) professionQuality.args.spacer1 = ACH:Spacer(3, 'full') professionQuality.args.alpha = ACH:Range(L["Alpha"], L["Change the alpha level of the frame."], 1, { min = 0, max = 1, step = 0.01, isPercent = true })