]> uap-core.de Git - note.git/commitdiff
fix group resource creation
authorOlaf Wintermann <olaf.wintermann@gmail.com>
Sun, 11 Jan 2026 13:38:29 +0000 (14:38 +0100)
committerOlaf Wintermann <olaf.wintermann@gmail.com>
Sun, 11 Jan 2026 13:38:29 +0000 (14:38 +0100)
application/nbconfig.c

index 3f7ff55d6d32a5419c695025974e6a63469e30f5..aa371f12ffdad1e41128951d4a0b7f7f4a9edcf8 100644 (file)
@@ -179,6 +179,7 @@ static void nbconfig_grouplist_add(UiEvent *event, void *userdata) {
     group->parent_id = store->root->resource_id;
     group->notebook = cxCalloc(store->mp->allocator, 1, sizeof(Notebook));
     group->nodename = cx_strdup_a(store->mp->allocator, "New").ptr;
+    group->iscollection = TRUE;
     
     wdata->selected_group = group;
     size_t ngroups = cxListSize(wdata->groups);