Simplified logic for a previous fix
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35448 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
e457eb2a53
commit
c5b26d73a3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user