aboutsummaryrefslogtreecommitdiff
path: root/src/ThemeBuilder/components/properties/ThicknessPropertyEditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ThemeBuilder/components/properties/ThicknessPropertyEditor.cpp')
-rw-r--r--src/ThemeBuilder/components/properties/ThicknessPropertyEditor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ThemeBuilder/components/properties/ThicknessPropertyEditor.cpp b/src/ThemeBuilder/components/properties/ThicknessPropertyEditor.cpp
index 955a44f7..0790cd98 100644
--- a/src/ThemeBuilder/components/properties/ThicknessPropertyEditor.cpp
+++ b/src/ThemeBuilder/components/properties/ThicknessPropertyEditor.cpp
@@ -13,7 +13,7 @@ ThicknessPropertyEditor::ThicknessPropertyEditor() {
auto thickness_mapper =
ui::mapper::MapperRegistry::GetInstance()->GetMapper<ui::Thickness>();
try {
- auto thickness = thickness_mapper->MapFromString(text);
+ auto thickness = thickness_mapper->MapFromString(text.ToUtf8());
thickness_ = thickness;
is_text_valid_ = true;
RaiseChangeEvent();