I have a class with an @classmethod. It polls for a variable to be set.
If the variable is not set the button is grayed out, if the variable has a value, the button is not grayed out and usable.
it works, but only updates when the mouse is in the area (window) where the button is.
When i have my mouse in, for example, the 3d view when the variable gets a value, the button does not become active. when i move my mouse then into the properties window, the button becomes active.
I want it to get working regardless where my mouse is. so, as soon as the variable gets a value, the button becomes active immediately.
Does someone know how to fix this problem?
Thanks in advance.