Originally Posted by Seerah
ReloadUI() is not a protected function, however it does require a hardware event.
|
The WoWPedia page for ReloadUI() says
This function is protected, and may only be called in response to hardware event.
|
Different definitions of protected? Or is the WoWPedia page wrong?
Either way, it didn't throw any Lua errors - I definitely had those turned on.
I ended up doing it the "hard way" and just wrote a little addon that makes a standard UI button that calls that script on click, and that works.