summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelclassified.cpp
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2010-07-19 17:22:12 -0700
committerLeyla Farazha <leyla@lindenlab.com>2010-07-19 17:22:12 -0700
commitd603085c0332f5d615cc6583e13ed0aa5ab21908 (patch)
treebac8d5e6b99643448579060d38a2e69fab65caf7 /indra/newview/llpanelclassified.cpp
parent474457ea7ea1bd178682788426a4cf40c3fffdcd (diff)
parent4339600d43601f07d01c676cce5da17c2758c4cb (diff)
Merge with dessie/viewer-release
Diffstat (limited to 'indra/newview/llpanelclassified.cpp')
-rw-r--r--indra/newview/llpanelclassified.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llpanelclassified.cpp b/indra/newview/llpanelclassified.cpp
index 70a7bf644b..7f027d299b 100644
--- a/indra/newview/llpanelclassified.cpp
+++ b/indra/newview/llpanelclassified.cpp
@@ -1792,6 +1792,7 @@ void LLPanelClassifiedEdit::onOpen(const LLSD& key)
enableVerbs(is_new);
enableEditing(is_new);
+ showEditing(!is_new);
resetDirty();
setInfoLoaded(false);
}
@@ -2011,6 +2012,12 @@ void LLPanelClassifiedEdit::enableEditing(bool enable)
childSetEnabled("auto_renew", enable);
}
+void LLPanelClassifiedEdit::showEditing(bool show)
+{
+ childSetVisible("price_for_listing_label", show);
+ childSetVisible("price_for_listing", show);
+}
+
std::string LLPanelClassifiedEdit::makeClassifiedName()
{
std::string name;