diff options
author | Andrey Lihatskiy <alihatskiy@productengine.com> | 2021-04-22 18:26:54 +0300 |
---|---|---|
committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2021-04-22 18:26:54 +0300 |
commit | 6da0a6873b122b95b203633d3d5dda2b54c6fc43 (patch) | |
tree | 5dd6927428e27ff1d1ce74a569a4cfe94528faf3 /indra/llui/llbutton.cpp | |
parent | 0ed270a0569e205f837f84773f5e72ab3b46d01b (diff) | |
parent | ef2decdbe9fd2add86f1117f423b680a3b79f927 (diff) |
Merge branch 'SL-14862' into DRTVWR-518-ui
# Conflicts:
# indra/newview/llstartup.cpp
Diffstat (limited to 'indra/llui/llbutton.cpp')
-rw-r--r-- | indra/llui/llbutton.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/llui/llbutton.cpp b/indra/llui/llbutton.cpp index 9682c3bc10..0e59fdf519 100644 --- a/indra/llui/llbutton.cpp +++ b/indra/llui/llbutton.cpp @@ -47,6 +47,7 @@ #include "llnotificationsutil.h" #include "llrender.h" #include "lluictrlfactory.h" +#include "lluiusage.h" #include "llhelp.h" #include "lldockablefloater.h" #include "llviewereventrecorder.h" @@ -437,6 +438,13 @@ BOOL LLButton::handleMouseDown(S32 x, S32 y, MASK mask) setFocus(TRUE); } + if (!mFunctionName.empty()) + { + LL_DEBUGS("UIUsage") << "calling mouse down function " << mFunctionName << LL_ENDL; + LLUIUsage::instance().logCommand(mFunctionName); + LLUIUsage::instance().logControl(getPathname()); + } + /* * ATTENTION! This call fires another mouse down callback. * If you wish to remove this call emit that signal directly |