mirror of
https://git.planet-casio.com/Lephenixnoir/JustUI.git
synced 2025-06-07 13:55:04 +02:00
properly count removed children widgets
This commit is contained in:
parent
a3e8606ab5
commit
d6951295b0
1 changed files with 1 additions and 0 deletions
|
@ -227,6 +227,7 @@ void jwidget_remove_child(void *w0, void *child0)
|
||||||
index = read;
|
index = read;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
w->child_count = write;
|
||||||
|
|
||||||
/* Remove the parent from the child */
|
/* Remove the parent from the child */
|
||||||
child->parent = NULL;
|
child->parent = NULL;
|
||||||
|
|
Loading…
Add table
Reference in a new issue