summaryrefslogtreecommitdiff
path: root/indra/llui/llbutton.cpp
diff options
context:
space:
mode:
authorDessie Linden <dessie@lindenlab.com>2010-06-23 10:46:05 -0700
committerDessie Linden <dessie@lindenlab.com>2010-06-23 10:46:05 -0700
commit6c57abb295447f2b44eb833cb77fa718dc2b1118 (patch)
tree0d9e147ed0b6bbde05e7b9550386114a13416c10 /indra/llui/llbutton.cpp
parent87082996e6408919591ee3d408918a4425494dc9 (diff)
parentaf914e4ab666aad041aa17f6459d1ff834440b44 (diff)
Merged from q/viewer-release
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..39e46a7ccb 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);
+}