summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelclassified.cpp
diff options
context:
space:
mode:
authorDmitry Zaporozhan <dzaporozhan@productengine.com>2010-03-02 11:34:14 +0200
committerDmitry Zaporozhan <dzaporozhan@productengine.com>2010-03-02 11:34:14 +0200
commitbbe2daad55777974f10f98b8a8023c7e25fbd6d2 (patch)
tree37fa3b1991d874e70e056f281d80aaea5cf9bc6e /indra/newview/llpanelclassified.cpp
parent4802a6f572b8b6c6e61465e3c6cf6b563fd163e4 (diff)
Fixed normal bug EXT-5856 - "Auto renew each week" checkbox is displayed in the Classified Info from other resident profile.
Hide auro_renew checkbox for avatar classifieds and showing for agent classifirds. --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llpanelclassified.cpp')
-rw-r--r--indra/newview/llpanelclassified.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llpanelclassified.cpp b/indra/newview/llpanelclassified.cpp
index b4c13da91e..f891a9fba2 100644
--- a/indra/newview/llpanelclassified.cpp
+++ b/indra/newview/llpanelclassified.cpp
@@ -1292,11 +1292,13 @@ void LLPanelClassifiedInfo::resetControls()
{
childSetEnabled("edit_btn", TRUE);
childSetVisible("edit_btn", TRUE);
+ childSetVisible("auto_renew", TRUE);
}
else
{
childSetEnabled("edit_btn", FALSE);
childSetVisible("edit_btn", FALSE);
+ childSetVisible("auto_renew", FALSE);
}
}