From 6847833752f8c4cc7cf913cb547b668fce1b2e8b Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Sun, 5 Jun 2016 12:58:15 -0400 Subject: [PATCH] Feature Request: Make stats indicator on status bar open stats floater. --- indra/newview/llstatusbar.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/indra/newview/llstatusbar.cpp b/indra/newview/llstatusbar.cpp index 1e17dd14a..667a91893 100644 --- a/indra/newview/llstatusbar.cpp +++ b/indra/newview/llstatusbar.cpp @@ -45,6 +45,7 @@ #include "llfloaterregioninfo.h" #include "llfloaterscriptdebug.h" #include "llfloatersearch.h" +#include "llfloaterstats.h" #include "llhudicon.h" #include "llkeyboard.h" #include "lllineeditor.h" @@ -275,6 +276,7 @@ mIsNavMeshDirty(false) addChild(mSGPacketLoss); mStatBtn = getChild("stat_btn"); + mStatBtn->setClickedCallback(boost::bind(LLFloaterStats::toggleInstance, LLSD())); } LLStatusBar::~LLStatusBar()