ui/common/menu.c

changeset 1092
0accf125a65f
parent 1016
ccde46662db7
--- a/ui/common/menu.c	Thu Apr 16 17:41:35 2026 +0200
+++ b/ui/common/menu.c	Fri Apr 17 13:21:11 2026 +0200
@@ -148,6 +148,7 @@
     item->item.next = NULL;
     item->item.type = UI_MENU_ITEM;
 
+    item->action = nl_strdup(args->action);
     item->label = nl_strdup(args->label);
     item->icon = nl_strdup(args->icon);
     item->userdata = args->onclickdata;

mercurial