Fix saving and re-expanding items.

Subtle bug #1 found, 11th hour change broke this feature, fixed
once again.
This commit is contained in:
John Scipione
2012-11-12 23:30:51 -05:00
parent a05a00c849
commit 1a5df674c1
+2 -1
View File
@@ -444,6 +444,8 @@ TBarView::PlaceTray(bool vertSwap, bool leftSwap)
void
TBarView::PlaceApplicationBar()
{
SaveExpandedItems();
if (fInlineScrollView != NULL) {
fInlineScrollView->DetachScrollers();
fInlineScrollView->RemoveSelf();
@@ -452,7 +454,6 @@ TBarView::PlaceApplicationBar()
}
if (fExpando != NULL) {
SaveExpandedItems();
delete fExpando;
fExpando = NULL;
}