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


#1

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?

dee


#2

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


#3

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!


#4

Thank you! it helped!