summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelclassified.cpp
diff options
context:
space:
mode:
authorDessie Linden <dessie@lindenlab.com>2010-07-08 08:03:44 -0700
committerDessie Linden <dessie@lindenlab.com>2010-07-08 08:03:44 -0700
commit0a2fc3e4b93c13854a1776456ebed7f53ceb67e8 (patch)
tree81fd1a3b3ce43f29a1f5d6e0925b288eeff2b090 /indra/newview/llpanelclassified.cpp
parent8cda9a026691690fd7e4bb0013cbccc287ef96d5 (diff)
parentca5e05a5c763b8eba3c6441f0f931af27cc89542 (diff)
Merged from 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;