diff options
author | Vadim Savchuk <vsavchuk@productengine.com> | 2010-09-15 21:02:11 +0300 |
---|---|---|
committer | Vadim Savchuk <vsavchuk@productengine.com> | 2010-09-15 21:02:11 +0300 |
commit | 85b4eed95022eb523593afc525ad2d83579442fb (patch) | |
tree | 63628abf8216f677bfe87b9ba1994830cb75cc7f /indra/newview | |
parent | bf2849ef2346b41ab096c4c7ce44756e3e20cd27 (diff) |
STORM-92 ADDITIONAL FIX Now state of the Place Profile panel isn't reset on (un)docking.
The accordion was reset whenever the panel visibility was changed.
Now that's done only when the panel gets (re-)initialized with a place info.
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llpanelplaceprofile.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/newview/llpanelplaceprofile.cpp b/indra/newview/llpanelplaceprofile.cpp index ee30c928c2..801db1e741 100644 --- a/indra/newview/llpanelplaceprofile.cpp +++ b/indra/newview/llpanelplaceprofile.cpp @@ -230,6 +230,11 @@ void LLPanelPlaceProfile::setInfoType(EInfoType type) break; } + if (mAccordionCtrl != NULL) + { + mAccordionCtrl->expandDefaultTab(); + } + LLPanelPlaceInfo::setInfoType(type); } @@ -274,11 +279,6 @@ void LLPanelPlaceProfile::handleVisibilityChange(BOOL new_visibility) parcel_mgr->deselectUnused(); } } - - if (mAccordionCtrl != NULL) - { - mAccordionCtrl->expandDefaultTab(); - } } void LLPanelPlaceProfile::displaySelectedParcelInfo(LLParcel* parcel, |