MDIDestroyChild: MDI window menu item was deleted only if the current
destroyed child was active.
This commit is contained in:
parent
b3f4bc87ac
commit
edd3d4afc2
|
@ -523,8 +523,9 @@ static LRESULT MDIDestroyChild( WND *w_parent, MDICLIENTINFO *ci,
|
|||
|
||||
MDI_ChildActivate(w_parent, 0);
|
||||
}
|
||||
MDI_MenuDeleteItem(w_parent, child);
|
||||
}
|
||||
MDI_MenuDeleteItem(w_parent, child);
|
||||
|
||||
WIN_ReleaseWndPtr(childPtr);
|
||||
|
||||
ci->nActiveChildren--;
|
||||
|
|
Loading…
Reference in New Issue