summaryrefslogtreecommitdiff
path: root/indra/llui/llbutton.cpp
diff options
context:
space:
mode:
authorYuri Chebotarev <ychebotarev@productengine.com>2010-06-23 17:47:24 +0300
committerYuri Chebotarev <ychebotarev@productengine.com>2010-06-23 17:47:24 +0300
commit02f042d0dee2a3f413784b46317ce022cf2132f7 (patch)
treee9ef0b9255609c70bc0a0ac1b9e40ae8f5426e81 /indra/llui/llbutton.cpp
parent4a0950e2d75a32d5eb4452520bff35967dc67ab2 (diff)
parentd5fb82283997f50d81af7dbf364783a5961b75d5 (diff)
merge
--HG-- branch : product-engine
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);
+}