Assert parent exists

feature/pre-code-move
kaetemi 5 years ago committed by Jan Boon
parent e65d1587e7
commit 9d5af13c5e

@ -179,6 +179,7 @@ namespace NLGUI
while (limitingParent && (limitingParent->getResizeFromChildH() || dynamic_cast<CGroupList *>(limitingParent)))
limitingParent = limitingParent->getParent();
nlassert(limitingParent);
getParentContainer()->setH(col->getH() + getParentContainer()->getHReal() - limitingParent->getHReal());
}
}

Loading…
Cancel
Save