Commit 72d6958f authored by twanvl's avatar twanvl

toString untags

parent d807c4d1
......@@ -7,6 +7,7 @@
// ----------------------------------------------------------------------------- : Includes
#include <data/field/text.hpp>
#include <util/tagged_string.hpp>
#include <script/script.hpp>
// ----------------------------------------------------------------------------- : TextField
......@@ -90,7 +91,7 @@ IMPLEMENT_REFLECTION(TextStyle) {
// ----------------------------------------------------------------------------- : TextValue
String TextValue::toString() const {
return value();
return untag(value());
}
bool TextValue::update(Context& ctx) {
Value::update(ctx);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment