From 1a5df674c1bb93a405699daec540c7cdddc86e1b Mon Sep 17 00:00:00 2001 From: John Scipione Date: Mon, 12 Nov 2012 23:30:51 -0500 Subject: [PATCH] Fix saving and re-expanding items. Subtle bug #1 found, 11th hour change broke this feature, fixed once again. --- src/apps/deskbar/BarView.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/apps/deskbar/BarView.cpp b/src/apps/deskbar/BarView.cpp index 726022c94b..07f28782a7 100644 --- a/src/apps/deskbar/BarView.cpp +++ b/src/apps/deskbar/BarView.cpp @@ -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; }