MAINT-4157 FIXED Lag meter tool tips are missing units
parent
d760a6889d
commit
24ebc86b41
|
|
@ -44,9 +44,10 @@ LLStatGraph::LLStatGraph(const Params& p)
|
|||
: LLView(p),
|
||||
mMin(p.min),
|
||||
mMax(p.max),
|
||||
mPerSec(true),
|
||||
mPerSec(p.per_sec),
|
||||
mPrecision(p.precision),
|
||||
mValue(p.value),
|
||||
mUnits(p.units),
|
||||
mNewStatFloatp(p.stat.count_stat_float)
|
||||
{
|
||||
setToolTip(p.name());
|
||||
|
|
|
|||
|
|
@ -200,6 +200,7 @@ BOOL LLStatusBar::postBuild()
|
|||
sgp.stat.count_stat_float(&LLStatViewer::ACTIVE_MESSAGE_DATA_RECEIVED);
|
||||
sgp.units("Kbps");
|
||||
sgp.precision(0);
|
||||
sgp.per_sec(true);
|
||||
mSGBandwidth = LLUICtrlFactory::create<LLStatGraph>(sgp);
|
||||
addChild(mSGBandwidth);
|
||||
x -= SIM_STAT_WIDTH + 2;
|
||||
|
|
|
|||
Loading…
Reference in New Issue