The setter is not working properly

Ok, I’m trying to set a variable from another widget blueprint in a different widget blueprint but the setter is not working, I have checked and everything else in the blueprint seems to be working fine it just the setter that isn’t working properly.

Whenever I try to print the variable it always prints it’s default value not the one I set it to.