fix list update (GTK)

3 weeks ago

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sat, 22 Feb 2025 18:10:36 +0100 (3 weeks ago)
changeset 470
118e2386d5b4
parent 469
3f6142271f58
child 471
063a9f29098c

fix list update (GTK)

ui/gtk/list.c file | annotate | diff | comparison | revisions
--- a/ui/gtk/list.c	Thu Feb 20 22:32:58 2025 +0100
+++ b/ui/gtk/list.c	Sat Feb 22 18:10:36 2025 +0100
@@ -520,7 +520,7 @@
 
 void ui_listview_update2(UiList *list, int i) {
     UiListView *view = list->obj;
-    ui_update_liststore(view->liststore, view->var->value);
+    ui_update_liststore(view->liststore, list);
 }
 
 UiListSelection ui_listview_getselection2(UiList *list) {

mercurial