ui/common/menu.c

changeset 8
726b24766437
parent 3
f154867f54dc
child 29
3fc287f06305
--- 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);

mercurial