Fix for labels not showing up in edit params anymore (accidentally took out the code that displayed them).

master
Loren Shih 2011-03-29 21:17:36 -04:00
parent 3208104e2e
commit 8ecd02641c
1 changed files with 5 additions and 0 deletions

View File

@ -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)
{