diff --git a/src/kits/interface/Box.cpp b/src/kits/interface/Box.cpp index 607160fbd6..da06a6f130 100644 --- a/src/kits/interface/Box.cpp +++ b/src/kits/interface/Box.cpp @@ -563,14 +563,12 @@ BBox::DoLayout() BView::DoLayout(); - if (!fLabelView) + if (fLabelView) + AddChild(fLabelView, ChildAt(0)); + else return; } - // Add it again.. - if (layouted && fLabelView) - AddChild(fLabelView, ChildAt(0)); - _ValidateLayoutData(); // Even if the user set a layout, restore label view to it's