summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2015-10-02 14:08:10 +0300
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2015-10-02 14:08:10 +0300
commitdf4fde18f614522dc64c176608a2b34a8d4fefb9 (patch)
tree7e192fe90509094e755c2cac2fb0fda9a88dc111 /indra/newview
parent4d536f8955082c0d7bdbd21b6d668529b9e3f88b (diff)
MAINT-1459 For Sale accordion overlaps Estate accordion in Place Profile panel
Diffstat (limited to 'indra/newview')
-rwxr-xr-xindra/newview/llpanelplaceprofile.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/newview/llpanelplaceprofile.cpp b/indra/newview/llpanelplaceprofile.cpp
index 1a665d4c1d..2fa4ee376a 100755
--- a/indra/newview/llpanelplaceprofile.cpp
+++ b/indra/newview/llpanelplaceprofile.cpp
@@ -224,6 +224,8 @@ void LLPanelPlaceProfile::resetLocation()
mSubdivideText->setValue(loading);
mResaleText->setValue(loading);
mSaleToText->setValue(loading);
+
+ getChild<LLAccordionCtrlTab>("sales_tab")->setVisible(TRUE);
}
// virtual
@@ -538,6 +540,7 @@ void LLPanelPlaceProfile::displaySelectedParcelInfo(LLParcel* parcel,
F32 dwell;
BOOL for_sale;
vpm->getDisplayInfo(&area, &claim_price, &rent_price, &for_sale, &dwell);
+ mForSalePanel->setVisible(for_sale);
if (for_sale)
{
const LLUUID& auth_buyer_id = parcel->getAuthorizedBuyerID();
@@ -556,8 +559,6 @@ void LLPanelPlaceProfile::displaySelectedParcelInfo(LLParcel* parcel,
mSaleToText->setText(getString("anyone"));
}
- mForSalePanel->setVisible(for_sale);
-
const U8* sign = (U8*)getString("price_text").c_str();
const U8* sqm = (U8*)getString("area_text").c_str();
@@ -614,6 +615,7 @@ void LLPanelPlaceProfile::displaySelectedParcelInfo(LLParcel* parcel,
mYouAreHerePanel->setVisible(is_current_parcel);
getChild<LLAccordionCtrlTab>("sales_tab")->setVisible(for_sale);
+ mAccordionCtrl->arrange();
}
void LLPanelPlaceProfile::updateEstateName(const std::string& name)