Global values messed up for close/openTheme
Status: Beta
Brought to you by:
ageitgey
Assume that you open a theme.
A global X is initialized to 0 (outside any def)
Do something that sets X = 1 in the theme in a def().
Then close that theme .
Then open the theme again.
You will now find that the theme's python code for
initializing X=0 seems to be missed out.
X is still = 1 !!!
If the theme is reloaded, then the globals seems to be
correctly initialized.