Sun, 09 Jun 2024 15:42:26 +0200
fix menu lists (GTK3)
ui/gtk/menu.c | file | annotate | diff | comparison | revisions |
--- a/ui/gtk/menu.c Sun Jun 09 15:31:07 2024 +0200 +++ b/ui/gtk/menu.c Sun Jun 09 15:42:26 2024 +0200 @@ -244,8 +244,8 @@ ls->index = index; ls->oldcount = 0; - // TODO: - //ls->list = il->list; + UiVar* var = uic_create_var(ui_global_context(), il->varname, UI_VAR_LIST); + ls->list = var->value; ls->callback = il->callback; ls->userdata = il->userdata;