Skip to content

Commit da138b4

Browse files
committed
fix a typo
1 parent 6aeb491 commit da138b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ElvUI_KeybindDisplay/Options.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ local function TextReplaceGroup()
116116
end)
117117

118118
TextReplaceOptions.args.edit = ACH:Execute(ColorizeName(L['Edit'], '33ff33'), nil, 2, function() E.db.kd.replacements[selectedHotKey] = selectedNewText; KD:UpdateButtonDB('PEW') end, nil, nil, 'full', get, nil, function() local disabled = not selectedHotKey or not selectedNewText or (selectedHotKey == selectedNewText) return disabled end, function() return E.db.kd.replacements[selectedHotKey] == selectedNewText end)
119-
TextReplaceOptions.args.delete = ACH:Execute(ColorizeName(L['Delete'], 'ff3333'), nil, 3, function() E.db.kd.replacements[selectedHotKey] = nil selectedHotKey = '' selectedNewText = '' KD:UpdateButtonDB('PEW') E.Options.args.kd.args.general.args.textreplacegroup.args.textreplaceoptions.name = '' end, nil, function() return L["Are you sure you want to delete this?"] end, 'full')
119+
TextReplaceOptions.args.delete = ACH:Execute(ColorizeName(L['Delete'], 'ff3333'), nil, 3, function() E.db.kd.replacements[selectedHotKey] = nil selectedHotKey = '' selectedNewText = '' KD:UpdateButtonDB('PEW') KD.Options.args.general.args.textreplacegroup.args.textreplaceoptions.name = '' end, nil, function() return L["Are you sure you want to delete this?"] end, 'full')
120120
options.args.header3 = ACH:Header('', 9)
121121

122122
return options

0 commit comments

Comments
 (0)