set the _text
This commit is contained in:
parent
ebdfbdabbe
commit
c26e5ea751
1 changed files with 1 additions and 0 deletions
|
@ -49,6 +49,7 @@ void Label::setText(const ustring &text)
|
|||
std::string s = text.c_str(); // use a normal string, for its functionality
|
||||
|
||||
_parsedtext.clear();
|
||||
_text = text;
|
||||
|
||||
// parse it into multiple lines
|
||||
std::string::size_type p = 0;
|
||||
|
|
Loading…
Reference in a new issue