Skip to content

Commit

Permalink
fix error on profile switch
Browse files Browse the repository at this point in the history
  • Loading branch information
Repooc committed Nov 12, 2023
1 parent 52c08bd commit 5112b23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ElvUI_KeybindDisplay/Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ function KD:FixKeybindText(button)
currentText = gsub(currentText, 'NEQUALS', 'N=')
end

if KD.db.replacements[currentText] then
currentText = KD.db.replacements[currentText]
if E.db.kd.replacements[currentText] then
currentText = E.db.kd.replacements[currentText]
end

hotkey:SetText(currentText)
Expand Down

0 comments on commit 5112b23

Please sign in to comment.