From 9dbc0e2ccebba2ccb7d1fe10dbb62653545daef3 Mon Sep 17 00:00:00 2001 From: Paul Guslisty Date: Wed, 7 Jul 2010 14:48:10 +0300 Subject: EXT-7879 FIXED (Edit Classified has duplicate \"Price for Ad\" and unnecessary help link) - Restored deleted spinner and its label - Added method to show\hide spinner and its label Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/698/ --HG-- branch : product-engine --- indra/newview/llpanelclassified.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'indra/newview/llpanelclassified.cpp') 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; -- cgit v1.2.3