summaryrefslogtreecommitdiff
path: root/indra/newview/llfolderviewitem.cpp
diff options
context:
space:
mode:
authorBradley Payne <vir@lindenlab.com>2009-10-12 18:40:11 +0000
committerBradley Payne <vir@lindenlab.com>2009-10-12 18:40:11 +0000
commit3bd6c1919cc3a142a112278a6dc83bd8292bcb5a (patch)
tree6ea3178f5aa587d6d2e445b6cf17f25a6127833b /indra/newview/llfolderviewitem.cpp
parent45a375c3feb3027d7a329ac1beb97fa30759dcfe (diff)
Merging avatar-pipeline/currently-worn-folder-10 down to viewer-2.
svn merge -r 134766:135946 svn+ssh://svn.lindenlab.com/svn/linden/branches/avatar-pipeline/currently-worn-folder-10 .
Diffstat (limited to 'indra/newview/llfolderviewitem.cpp')
-rw-r--r--indra/newview/llfolderviewitem.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/newview/llfolderviewitem.cpp b/indra/newview/llfolderviewitem.cpp
index 0d432bd398..66881be309 100644
--- a/indra/newview/llfolderviewitem.cpp
+++ b/indra/newview/llfolderviewitem.cpp
@@ -600,6 +600,11 @@ BOOL LLFolderViewItem::handleRightMouseDown( S32 x, S32 y, MASK mask )
BOOL LLFolderViewItem::handleMouseDown( S32 x, S32 y, MASK mask )
{
+ if (LLView::childrenHandleMouseDown(x, y, mask))
+ {
+ return TRUE;
+ }
+
// No handler needed for focus lost since this class has no
// state that depends on it.
gFocusMgr.setMouseCapture( this );
@@ -719,6 +724,11 @@ BOOL LLFolderViewItem::handleScrollWheel(S32 x, S32 y, S32 clicks)
BOOL LLFolderViewItem::handleMouseUp( S32 x, S32 y, MASK mask )
{
+ if (LLView::childrenHandleMouseUp(x, y, mask))
+ {
+ return TRUE;
+ }
+
// if mouse hasn't moved since mouse down...
if ( pointInView(x, y) && mSelectPending )
{
@@ -968,6 +978,7 @@ void LLFolderViewItem::draw()
}
}
}
+ LLView::draw();
}