summaryrefslogtreecommitdiff
path: root/indra/newview/llfolderviewitem.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2012-08-20 11:08:27 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2012-08-20 11:08:27 -0400
commit3a255dfa7980bf20590b4a65a8cf916e57a998b6 (patch)
treea9263a81e7603071c2aae418d97c6c2bce48d226 /indra/newview/llfolderviewitem.cpp
parent73dbcc10c5b35e2b55a454e600e86ddd7d24399d (diff)
parentba07e95d682428f20e529fca4cc324817dc781a7 (diff)
merge
Diffstat (limited to 'indra/newview/llfolderviewitem.cpp')
-rw-r--r--indra/newview/llfolderviewitem.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llfolderviewitem.cpp b/indra/newview/llfolderviewitem.cpp
index 515e544452..3aa16b4413 100644
--- a/indra/newview/llfolderviewitem.cpp
+++ b/indra/newview/llfolderviewitem.cpp
@@ -1098,6 +1098,10 @@ void LLFolderViewItem::draw()
}
}
+bool LLFolderViewItem::isInSelection() const
+{
+ return mIsSelected || (mParentFolder && mParentFolder->isInSelection());
+}
///----------------------------------------------------------------------------
/// Class LLFolderViewFolder