diff -r 6bd37fe6d905 -r ee4e4742391e ui/common/context.c --- a/ui/common/context.c Wed Oct 23 21:46:43 2024 +0200 +++ b/ui/common/context.c Sun Oct 27 18:24:37 2024 +0100 @@ -209,7 +209,7 @@ UiVar* uic_create_value_var(UiContext* ctx, void* value) { UiVar *var = (UiVar*)ui_malloc(ctx, sizeof(UiVar)); var->from = NULL; - var->from_ctx = NULL; + var->from_ctx = ctx; var->value = value; var->type = UI_VAR_SPECIAL; return var;