Skip to content

Commit

Permalink
Fix /bd command not opening options panel
Browse files Browse the repository at this point in the history
  • Loading branch information
jordonwow committed Jul 25, 2024
1 parent 6bb274e commit a5106f9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ read_globals = {
"Plater",
"PLAYER",
"SetPortraitToTexture",
"Settings",
"Spell",
"SpellGetVisibilityInfo",
"SpellIsSelfBuff",
Expand Down
8 changes: 6 additions & 2 deletions BigDebuffs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2425,6 +2425,10 @@ end
SLASH_BigDebuffs1 = "/bd"
SLASH_BigDebuffs2 = "/bigdebuffs"
SlashCmdList.BigDebuffs = function(msg)
InterfaceOptionsFrame_OpenToCategory(addonName)
InterfaceOptionsFrame_OpenToCategory(addonName)
if Settings and Settings.OpenToCategory then
Settings.OpenToCategory(addonName)
else
InterfaceOptionsFrame_OpenToCategory(addonName)
InterfaceOptionsFrame_OpenToCategory(addonName)
end
end

0 comments on commit a5106f9

Please sign in to comment.