mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-23 16:16:56 +00:00
api: prevent race condition in table wipe
* fix raid unitpopup menu for 3rd party addons * fixes set banker, disenchanter options
This commit is contained in:
@@ -1131,6 +1131,9 @@ function pfUI.uf:ClickAction(button)
|
||||
elseif label == "party" then
|
||||
ToggleDropDownMenu(1, nil, getglobal("PartyMemberFrame" .. this.id .. "DropDown"), "cursor")
|
||||
elseif label == "raid" then
|
||||
-- RaidFrameDropDown_Initialize expects .name and .unit attributes on raid unit buttons
|
||||
if not (this.name) then this.name = this.lastUnit end
|
||||
if not (this.unit) then this.unit = unitstr end
|
||||
ToggleDropDownMenu(1, nil, getglobal("RaidMemberFrame" .. this.id .. "DropDown"), "cursor")
|
||||
FriendsDropDown.initialize = RaidFrameDropDown_Initialize
|
||||
FriendsDropDown.displayMode = "MENU"
|
||||
|
||||
Reference in New Issue
Block a user