properly count removed children widgets
This commit is contained in:
parent
a3e8606ab5
commit
d6951295b0
|
@ -227,6 +227,7 @@ void jwidget_remove_child(void *w0, void *child0)
|
|||
index = read;
|
||||
}
|
||||
}
|
||||
w->child_count = write;
|
||||
|
||||
/* Remove the parent from the child */
|
||||
child->parent = NULL;
|
||||
|
|
Loading…
Reference in New Issue