From be3e8b1e6b7b8688e7c4e10b231d42ca686ab04e Mon Sep 17 00:00:00 2001 From: Twan van Laarhoven Date: Thu, 21 May 2020 19:34:39 +0200 Subject: [PATCH] Fix reflection of TextStyle::layout --- src/data/field/text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/field/text.cpp b/src/data/field/text.cpp index da4f7e79..c7811034 100644 --- a/src/data/field/text.cpp +++ b/src/data/field/text.cpp @@ -99,7 +99,7 @@ void TextStyle::checkContentDependencies(Context& ctx, const Dependency& dep) co template void reflect_layout(T& handler, const TextStyle& ts) {} template <> void reflect_layout(GetMember& handler, const TextStyle& ts) { - REFLECT(ts.layout); + REFLECT_N("layout", ts.layout); if (ts.layout) { REFLECT_N("content_width", ts.layout->width); REFLECT_N("content_height", ts.layout->height);