diff options
| author | Oz Linden <oz@lindenlab.com> | 2012-05-08 15:51:56 -0400 |
|---|---|---|
| committer | Oz Linden <oz@lindenlab.com> | 2012-05-08 15:51:56 -0400 |
| commit | 95090c5d1e857130f7266b5753d3650d02e9386c (patch) | |
| tree | cff60656371883829dd7451ed4a1d3d09258b5ae /indra/newview/llgrouplist.cpp | |
| parent | 5bf742895d882f1d7178c2b18a347bf485877a02 (diff) | |
| parent | d6569db3520f7e0ce2d93febb6f4e26b48c08a3d (diff) | |
merge changes for version 3.3.1
Diffstat (limited to 'indra/newview/llgrouplist.cpp')
| -rw-r--r-- | indra/newview/llgrouplist.cpp | 16 |
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; |
