Skip to content

Commit

Permalink
Fix retail error
Browse files Browse the repository at this point in the history
  • Loading branch information
nebularg committed Jun 10, 2024
1 parent 224d2a0 commit 3cf0ddc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions BetterAddonList.lua
Original file line number Diff line number Diff line change
Expand Up @@ -197,12 +197,12 @@ function addon:PLAYER_LOGIN()
-- let the frame overlap over ui frames
--UIPanelWindows["AddonList"].area = nil

if AddonCharacterDropDownButton then
if AddonCharacterDropDown then
-- default to showing the player profile
-- UIDropDownMenu_SetSelectedValue(AddonCharacterDropDown, character)
-- XXX try to avoid taint by doing this directly
AddonCharacterDropDownButton.selectedValue = character
AddonCharacterDropDownButton.Text:SetText(character)
AddonCharacterDropDown.selectedValue = character
AddonCharacterDropDown.Text:SetText(character)
end

SLASH_BETTERADDONLIST1 = "/addons"
Expand Down

0 comments on commit 3cf0ddc

Please sign in to comment.