diff options
author | Seth ProductEngine <slitovchuk@productengine.com> | 2012-09-13 20:10:45 +0300 |
---|---|---|
committer | Seth ProductEngine <slitovchuk@productengine.com> | 2012-09-13 20:10:45 +0300 |
commit | 4b52515b543546844835064dfb89e5af2bbbd948 (patch) | |
tree | c4d13e2d9c03d2bd59f49180bf40852de363933f /indra/newview/llconversationmodel.cpp | |
parent | be06bebffcc1a08c3018ab3712048599455e025b (diff) |
CHUI-282 WIP Fixed conversation list items selection.
Fixed displaying session participants only when session item is open.
Diffstat (limited to 'indra/newview/llconversationmodel.cpp')
-rw-r--r-- | indra/newview/llconversationmodel.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llconversationmodel.cpp b/indra/newview/llconversationmodel.cpp index fa49987d15..51a37fe856 100644 --- a/indra/newview/llconversationmodel.cpp +++ b/indra/newview/llconversationmodel.cpp @@ -101,6 +101,11 @@ LLConversationItemSession::LLConversationItemSession(const LLUUID& uuid, LLFolde { } +bool LLConversationItemSession::hasChildren() const +{ + return getChildrenCount() > 0; +} + void LLConversationItemSession::addParticipant(LLConversationItemParticipant* participant) { addChild(participant); |