Reset to defaults
Hello
In the options panel, there is the X button. It is disabled in my addon (I guess it needs some sort of implementation) but when I press X, it still asks to reset.
I guess it overwrites my settings object with the defaults object I provided with "ZO_SavedVars:NewAccountWide", but then I should kind of rebuild/re init all the controls in the options panel.
Any advice on this matter?
Thanks!
|