This commit is contained in:
parent
c43c497780
commit
e7d9edec27
1 changed files with 5 additions and 1 deletions
|
|
@ -1049,7 +1049,11 @@ void MwReparent(MwWidget handle, MwWidget new_parent) {
|
|||
MwDispatch(handle->parent, children_update);
|
||||
}
|
||||
|
||||
handle->top_step = 0;
|
||||
if(new_parent == NULL){
|
||||
handle->top_step = 1;
|
||||
}else{
|
||||
handle->top_step = 0;
|
||||
}
|
||||
|
||||
MwForceRender(handle);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue