diff -r 62921b370c60 -r ee49d1852a5f ui/motif/menu.c --- a/ui/motif/menu.c Sun Jan 21 12:13:09 2018 +0100 +++ b/ui/motif/menu.c Sun Jul 01 19:03:26 2018 +0200 @@ -408,7 +408,7 @@ 2); XmStringFree(label); - UiVar *var = uic_connect_var(obj->ctx, ci->varname, UI_VAR_INTEGER); + UiVar *var = uic_create_var(obj->ctx, ci->varname, UI_VAR_INTEGER); if(var) { UiInteger *value = var->value; value->obj = checkbox;