Commit 72d6958f authored by twanvl's avatar twanvl

toString untags

parent d807c4d1
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
// ----------------------------------------------------------------------------- : Includes // ----------------------------------------------------------------------------- : Includes
#include <data/field/text.hpp> #include <data/field/text.hpp>
#include <util/tagged_string.hpp>
#include <script/script.hpp> #include <script/script.hpp>
// ----------------------------------------------------------------------------- : TextField // ----------------------------------------------------------------------------- : TextField
...@@ -90,7 +91,7 @@ IMPLEMENT_REFLECTION(TextStyle) { ...@@ -90,7 +91,7 @@ IMPLEMENT_REFLECTION(TextStyle) {
// ----------------------------------------------------------------------------- : TextValue // ----------------------------------------------------------------------------- : TextValue
String TextValue::toString() const { String TextValue::toString() const {
return value(); return untag(value());
} }
bool TextValue::update(Context& ctx) { bool TextValue::update(Context& ctx) {
Value::update(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