]> uap-core.de Git - note.git/commitdiff
fix crash
authorOlaf Wintermann <olaf.wintermann@gmail.com>
Fri, 4 Sep 2026 18:48:34 +0000 (20:48 +0200)
committerOlaf Wintermann <olaf.wintermann@gmail.com>
Fri, 4 Sep 2026 18:48:34 +0000 (20:48 +0200)
ui/gtk/container.c

index 2a90e44523d1c2c45d4c8d7a118c10411092c404..0c645933aa0137b4469f70077720280b18c45da8 100644 (file)
@@ -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,