fixed the viewColor bug
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13120 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
1cc148a946
commit
7faaf6ba8b
@ -3162,7 +3162,10 @@ BView::RemoveSelf()
|
||||
BView *
|
||||
BView::Parent() const
|
||||
{
|
||||
return parent;
|
||||
if (parent && parent->top_level_view)
|
||||
return NULL;
|
||||
else
|
||||
return parent;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user