summaryrefslogtreecommitdiff
path: root/indra/llui/llbutton.cpp
diff options
context:
space:
mode:
authorMike Antipov <mantipov@productengine.com>2010-06-23 12:05:09 +0300
committerMike Antipov <mantipov@productengine.com>2010-06-23 12:05:09 +0300
commit6290930c98ace2d3b3d76d3be0a06df718a9a238 (patch)
tree48584ccb08b80d120ec53f3d1df16df55cd9480b /indra/llui/llbutton.cpp
parente02b51f125f876cfef10f504a121693b3612155a (diff)
parent11ec720a063b73fc042e8b06338b9526835dbb6b (diff)
Merge with default branch
--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);
+}