AttachedToWindow() could be called twice in case new views were added during

AttachedToWindow().
This fixes the double team entries in the Deskbar.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15398 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2005-12-07 18:04:43 +00:00
parent ec17c60f5a
commit aa110a00e0
2 changed files with 9 additions and 6 deletions
+1 -1
View File
@@ -591,7 +591,7 @@ private:
BScrollBar* fVerScroller;
BScrollBar* fHorScroller;
bool f_is_printing;
bool _unused_bool0;
bool fAttached;
bool _unused_bool1;
bool _unused_bool2;
BPrivate::ViewState* fState;