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:
parent
6f6ba87580
commit
00d5cfaa7e
@ -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++) {
|
||||
|
Loading…
Reference in New Issue
Block a user