summaryrefslogtreecommitdiff
path: root/indra/newview/llgrouplist.cpp
diff options
context:
space:
mode:
authorcallum <none@none>2012-01-23 17:06:15 -0800
committercallum <none@none>2012-01-23 17:06:15 -0800
commit133b9a4036a9a0230ad5ed26862fdf28d5c523dc (patch)
tree8e4c1197239ca8e5378d097760a77ff9c9b02ae1 /indra/newview/llgrouplist.cpp
parent4140a688548a1139466740c87cdec883f267cfa7 (diff)
parent3ebaa5b0a69f7ae63c74bc4a1a80a5ec5b988569 (diff)
merge with head
Diffstat (limited to 'indra/newview/llgrouplist.cpp')
-rw-r--r--indra/newview/llgrouplist.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/indra/newview/llgrouplist.cpp b/indra/newview/llgrouplist.cpp
index bbf66ca750..129cddda45 100644
--- a/indra/newview/llgrouplist.cpp
+++ b/indra/newview/llgrouplist.cpp
@@ -123,6 +123,22 @@ BOOL LLGroupList::handleRightMouseDown(S32 x, S32 y, MASK mask)
return handled;
}
+// virtual
+BOOL LLGroupList::handleDoubleClick(S32 x, S32 y, MASK mask)
+{
+ BOOL handled = LLView::handleDoubleClick(x, y, mask);
+ // Handle double click only for the selected item in the list, skip clicks on empty space.
+ if (handled)
+ {
+ if (mDoubleClickSignal)
+ {
+ (*mDoubleClickSignal)(this, x, y, mask);
+ }
+ }
+
+ return handled;
+}
+
void LLGroupList::setNameFilter(const std::string& filter)
{
std::string filter_upper = filter;