summaryrefslogtreecommitdiff
path: root/otk
diff options
context:
space:
mode:
Diffstat (limited to 'otk')
-rw-r--r--otk/label.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/otk/label.cc b/otk/label.cc
index 751fff34..43d06f77 100644
--- a/otk/label.cc
+++ b/otk/label.cc
@@ -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;