mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 13:06:59 -04:00
toString untags
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@133 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user