summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterimsessiontab.cpp
diff options
context:
space:
mode:
authormaxim_productengine <mnikolenko@productengine.com>2012-11-21 15:14:47 +0200
committermaxim_productengine <mnikolenko@productengine.com>2012-11-21 15:14:47 +0200
commitda5792fcecd1e0a3d84634c0a81bd16d4c04488f (patch)
treef7aea35aba19be814856f087503d355d35f2eaa8 /indra/newview/llfloaterimsessiontab.cpp
parent1ece38912188650c9bc5a1cf906ca4a88acc21c4 (diff)
CHUI-533 FIXED Check that mConversationsRoot is not null
Diffstat (limited to 'indra/newview/llfloaterimsessiontab.cpp')
-rw-r--r--indra/newview/llfloaterimsessiontab.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/newview/llfloaterimsessiontab.cpp b/indra/newview/llfloaterimsessiontab.cpp
index a21ee07d47..0057ed3231 100644
--- a/indra/newview/llfloaterimsessiontab.cpp
+++ b/indra/newview/llfloaterimsessiontab.cpp
@@ -496,8 +496,11 @@ void LLFloaterIMSessionTab::refreshConversation()
}
mConversationViewModel.requestSortAll();
- mConversationsRoot->arrangeAll();
- mConversationsRoot->update();
+ if(mConversationsRoot != NULL)
+ {
+ mConversationsRoot->arrangeAll();
+ mConversationsRoot->update();
+ }
updateHeaderAndToolbar();
refresh();
}