View Single Post
02-19-11, 06:33 PM   #4
Akkorian
A Flamescale Wyrmkin
 
Akkorian's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2010
Posts: 111
Hi Lanodar,

Try changing your OnClick function to set the text on the dropdown again yourself. I’ve had problems with UIDropDownMenu_SetSelected* not always setting the text correctly.

Code:
local function OnClick(self)
   UIDropDownMenu_SetSelectedID(DropDownMenuTest, self:GetID())
   DropDownMenuTestText:SetText( items[ self:GetID() ] )
end
__________________
“Be humble, for you are made of earth. Be noble, for you are made of stars.”
  Reply With Quote