Fix saving and re-expanding items.
Subtle bug #1 found, 11th hour change broke this feature, fixed once again.
This commit is contained in:
@@ -444,6 +444,8 @@ TBarView::PlaceTray(bool vertSwap, bool leftSwap)
|
|||||||
void
|
void
|
||||||
TBarView::PlaceApplicationBar()
|
TBarView::PlaceApplicationBar()
|
||||||
{
|
{
|
||||||
|
SaveExpandedItems();
|
||||||
|
|
||||||
if (fInlineScrollView != NULL) {
|
if (fInlineScrollView != NULL) {
|
||||||
fInlineScrollView->DetachScrollers();
|
fInlineScrollView->DetachScrollers();
|
||||||
fInlineScrollView->RemoveSelf();
|
fInlineScrollView->RemoveSelf();
|
||||||
@@ -452,7 +454,6 @@ TBarView::PlaceApplicationBar()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (fExpando != NULL) {
|
if (fExpando != NULL) {
|
||||||
SaveExpandedItems();
|
|
||||||
delete fExpando;
|
delete fExpando;
|
||||||
fExpando = NULL;
|
fExpando = NULL;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user