Originally Posted by Ne0nguy
Whenever you press the 'Okay' button, it executes all of the panel.okay functions, regardless of what panel is currently displayed.
If you use an OnShow function to load your variables into the options panel all the values you would normally be saving with the panel.okay function will be empty until that panel is specifically shown.
|
I didn't realize the "Okay" button functioned that way. This actually helps me solve the same problem I've been having with my addons. Thanks.