application/main.c

changeset 723
e513086eadbb
parent 722
6466b4f16e5e
child 729
81b698792386
--- a/application/main.c	Sun Aug 24 14:58:27 2025 +0200
+++ b/application/main.c	Sun Aug 24 15:05:00 2025 +0200
@@ -1002,8 +1002,7 @@
         
         UiModel *model = ui_model(obj->ctx, UI_STRING, "col1", UI_INTEGER, "col2", -1);
         model->columnsize[0] = -1;
-        model->getvalue = table_getvalue;
-        ui_table(obj, .model = model, .varname = "mylist", .colspan = 2, .fill = UI_ON, .multiselection = TRUE, .fill = TRUE, .onactivate = list_activate);
+        ui_table(obj, .model = model, .getvalue = table_getvalue, .varname = "mylist", .colspan = 2, .fill = UI_ON, .multiselection = TRUE, .fill = TRUE, .onactivate = list_activate);
         
         ui_newline(obj);
         

mercurial