application/settings.c

changeset 109
c3dfcb8f0be7
parent 108
77254bd6dccb
--- a/application/settings.c	Sun Jul 20 22:04:39 2025 +0200
+++ b/application/settings.c	Sun Aug 24 15:24:16 2025 +0200
@@ -656,9 +656,9 @@
                         ui_newline(obj);
                         
                         UiModel* model = ui_model(obj->ctx, UI_STRING, "Name", UI_STRING, "URL", UI_STRING, "User", UI_STRING, "Encrypted", -1);
-                        model->getvalue = (ui_getvaluefunc) settings_repolist_getvalue;
                         ui_table(obj,
                                 .model = model,
+                                .getvalue = (ui_getvaluefunc) settings_repolist_getvalue,
                                 .list = wdata->repos,
                                 .multiselection = FALSE,
                                 .onactivate = repolist_activate,

mercurial