From 9ba6fc9d9ee2fa6c9836ed938ff980a312f035e6 Mon Sep 17 00:00:00 2001 From: Olaf Wintermann Date: Fri, 4 Sep 2026 20:48:34 +0200 Subject: [PATCH] fix crash --- ui/gtk/container.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/gtk/container.c b/ui/gtk/container.c index 2a90e44..0c64593 100644 --- a/ui/gtk/container.c +++ b/ui/gtk/container.c @@ -1292,7 +1292,7 @@ static void update_itemlist(UiList *list, int c) { // create new widget and object for this list element UiObject *obj = uic_object_new_toplevel(); obj->ctx->parent = ct->parent->ctx; - obj->window = NULL; + obj->window = ct->parent->window; obj->widget = ui_subcontainer_create( ct->subcontainer, obj, -- 2.52.0