summaryrefslogtreecommitdiff
path: root/indra/llui/llbutton.cpp
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2010-06-22 16:14:22 -0700
committerLeyla Farazha <leyla@lindenlab.com>2010-06-22 16:14:22 -0700
commit25de07a379aaacfc7eb37dd91f33005acd3791ae (patch)
tree0ac3751289227b56c19344bdc1d47167add76fd9 /indra/llui/llbutton.cpp
parent5e5ad8582cbbe3dd656d9b3824d96a37e312a31a (diff)
EXT-7980 Double-clicking no longer selects contents of number fields
reviewed by Richard
Diffstat (limited to 'indra/llui/llbutton.cpp')
-rw-r--r--indra/llui/llbutton.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/llui/llbutton.cpp b/indra/llui/llbutton.cpp
index 34f3049f2e..c678d78eb5 100644
--- a/indra/llui/llbutton.cpp
+++ b/indra/llui/llbutton.cpp
@@ -1162,3 +1162,10 @@ void LLButton::resetMouseDownTimer()
mMouseDownTimer.stop();
mMouseDownTimer.reset();
}
+
+
+BOOL LLButton::handleDoubleClick(S32 x, S32 y, MASK mask)
+{
+ // just treat a double click as a second click
+ return handleMouseDown(x, y, mask);
+} \ No newline at end of file