I have a few dropdown boxes in my addon (UIDropDownMenu ones), and I am currently seing some really strange behavior. I know my code that handles them is a bit bugged itself, I'm working on that, but what's really strange is that sometimes I see text appearing in them that's not defined anywhere in my addon. In fact, its localized, and I disabled localization part of my addon. How come I'm getting some foreign strings in my dropdown boxes?
Nevermind, looking at code for _SetSelectedValue, apparently its using VIDEO_QUALITY_LABEL6 if it hasn't found a button to check. My code is too messy and most certainly contains bugs of its own, I just wasn't sure where to look until I found the source of this weird text.
Ok, apparently I'm not meant to use _SetSelected* unless the menu is open.. Should I just use SetText instead?