ui/winui/text.cpp

changeset 8
726b24766437
parent 3
f154867f54dc
child 13
5a8762fcfecc
--- a/ui/winui/text.cpp	Mon Jan 29 12:09:24 2024 +0100
+++ b/ui/winui/text.cpp	Mon Jan 29 18:50:04 2024 +0100
@@ -452,7 +452,7 @@
     ui_context_add_widget_destructor(current->ctx, widget);
 
     // bind var
-    UiVar* var = uic_widget_var(obj->ctx, current->ctx, args.value, args.varname, UI_VAR_LIST);
+    UiVar* var = uic_widget_var(obj->ctx, current->ctx, args.value, args.varname, UI_VAR_STRING);
     if (var) {
         UiString* value = (UiString*)var->value;
         value->obj = uipathbar;

mercurial