Fixed view persistence again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25018 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -173,9 +173,9 @@ ActivityWindow::_SaveSettings()
|
|||||||
return status;
|
return status;
|
||||||
|
|
||||||
#ifdef __HAIKU__
|
#ifdef __HAIKU__
|
||||||
BView* top = GetLayout()->View();
|
BView* top = fLayout->View();
|
||||||
#else
|
#else
|
||||||
BView *top = ChildAt(0);
|
BView* top = ChildAt(0);
|
||||||
#endif
|
#endif
|
||||||
int32 count = top->CountChildren();
|
int32 count = top->CountChildren();
|
||||||
for (int32 i = 0; i < count; i++) {
|
for (int32 i = 0; i < count; i++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user