forked from pyrite-dev/milsko
fix reparent freeze
This commit is contained in:
parent
d056d1b7fb
commit
74a800b3ef
1 changed files with 2 additions and 0 deletions
|
|
@ -1143,8 +1143,10 @@ void MwReparent(MwWidget handle, MwWidget new_parent) {
|
|||
|
||||
if(new_parent == NULL) {
|
||||
handle->top_step = 1;
|
||||
arrput(handle->tick_list, handle);
|
||||
} else {
|
||||
handle->top_step = 0;
|
||||
arrfree(handle->tick_list);
|
||||
}
|
||||
|
||||
MwForceRender(handle);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue