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

View File

@ -72,7 +72,7 @@ ActivityWindow::ActivityWindow()
#else
BView *layout = new BView(Bounds(), "topmost", B_FOLLOW_NONE, 0);
AddChild(layout);
// create GUI
BRect mbRect(Bounds());
mbRect.bottom = 10;
@ -173,9 +173,9 @@ ActivityWindow::_SaveSettings()
return status;
#ifdef __HAIKU__
BView* top = GetLayout()->View();
BView* top = fLayout->View();
#else
BView *top = ChildAt(0);
BView* top = ChildAt(0);
#endif
int32 count = top->CountChildren();
for (int32 i = 0; i < count; i++) {