From 8ecd02641c87fde51e2cc18f9ee4096d69490771 Mon Sep 17 00:00:00 2001 From: Loren Shih <seraph@lindenlab.com> Date: Tue, 29 Mar 2011 21:17:36 -0400 Subject: [PATCH] Fix for labels not showing up in edit params anymore (accidentally took out the code that displayed them). --- indra/newview/llscrollingpanelparam.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/indra/newview/llscrollingpanelparam.cpp b/indra/newview/llscrollingpanelparam.cpp index 5310ababba8..05b82ba967e 100644 --- a/indra/newview/llscrollingpanelparam.cpp +++ b/indra/newview/llscrollingpanelparam.cpp @@ -69,6 +69,11 @@ LLScrollingPanelParam::LLScrollingPanelParam( const LLPanel::Params& panel_param mHintMin->setAllowsUpdates( FALSE ); mHintMax->setAllowsUpdates( FALSE ); + std::string min_name = LLTrans::getString(param->getMinDisplayName()); + std::string max_name = LLTrans::getString(param->getMaxDisplayName()); + getChild<LLUICtrl>("min param text")->setValue(min_name); + getChild<LLUICtrl>("max param text")->setValue(max_name); + LLButton* less = getChild<LLButton>("less"); if (less) { -- GitLab