diff options
Diffstat (limited to 'indra/newview/llfloaterimsessiontab.cpp')
-rw-r--r-- | indra/newview/llfloaterimsessiontab.cpp | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/indra/newview/llfloaterimsessiontab.cpp b/indra/newview/llfloaterimsessiontab.cpp index 9795df78ae..0057ed3231 100644 --- a/indra/newview/llfloaterimsessiontab.cpp +++ b/indra/newview/llfloaterimsessiontab.cpp @@ -335,14 +335,6 @@ void LLFloaterIMSessionTab::appendMessage(const LLChat& chat, const LLSD &args) if (im_box) { im_box->setTimeNow(mSessionID,chat.mFromID); - - // TODO: Warning! The next two lines of code are included below only temporarily - // to demonstrate the correct format call the appropriate functions. - // They should be moved to the right places when working on CHUI-486. ~Alex ProductEngine. - // ---- start demo ---- - // im_box->flashConversationItemWidget(mSessionID, true); // flashing of the conversation's item - // gToolBarView->flashCommand(LLCommandId("chat"), true); // flashing of the FUI button "Chat" - // ---- end demo ----- } @@ -504,8 +496,11 @@ void LLFloaterIMSessionTab::refreshConversation() } mConversationViewModel.requestSortAll(); - mConversationsRoot->arrangeAll(); - mConversationsRoot->update(); + if(mConversationsRoot != NULL) + { + mConversationsRoot->arrangeAll(); + mConversationsRoot->update(); + } updateHeaderAndToolbar(); refresh(); } |