label->setText("string", NotificationType::dontSendNotification); does not update the label graphic outside constructor


i am doing this:  label->setText("string", NotificationType::dontSendNotification);    but the label graphic is not updated

altho if i cout label->getText() it has the right value , any idea what i am missing?



There's no question that it'll repaint if you call that, you're probably looking at a different Label object or something.


if i do inside the class constructor :  label->setText("string", NotificationType::dontSendNotification);  it updates , but not other methods from same class.! bahh should be something really stupid from me!


Thank you! it helped!