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:
Axel Dörfler
2008-04-18 11:35:05 +00:00
parent 6f6ba87580
commit 00d5cfaa7e
+2 -2
View File
@@ -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++) {