View Single Post
12-14-11, 12:50 PM   #6
Smashbolt
A Deviate Faerie Dragon
Join Date: Mar 2010
Posts: 13
Originally Posted by Seerah View Post
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.
  Reply With Quote