--- a/ui/common/menu.c Mon Jan 29 12:09:24 2024 +0100 +++ b/ui/common/menu.c Mon Jan 29 18:50:04 2024 +0100 @@ -196,6 +196,7 @@ item->item.prev = NULL; item->item.next = NULL; item->item.type = UI_MENU_ITEM_LIST; + item->getvalue = args.getvalue; item->callback = args.onselect; item->userdata = args.onselectdata; item->varname = nl_strdup(args.varname);