diff options
| author | Gilbert Gonzales <gilbert@lindenlab.com> | 2012-10-22 17:32:38 -0700 | 
|---|---|---|
| committer | Gilbert Gonzales <gilbert@lindenlab.com> | 2012-10-22 17:32:38 -0700 | 
| commit | ab1f988c453e61e1d9dfc3339bf774921a351746 (patch) | |
| tree | be4dde2bb0da919ce4669bd80e2bd869e2e6a421 /indra | |
| parent | 23d58c0c0906bd5434611cc73da9437ec7a5b830 (diff) | |
| parent | 364e8118670f7ea80a1fa7187b23cc46ad2fc2f7 (diff) | |
merging in latest changes
Diffstat (limited to 'indra')
| -rw-r--r-- | indra/newview/llimfloatercontainer.cpp | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/indra/newview/llimfloatercontainer.cpp b/indra/newview/llimfloatercontainer.cpp index 14ed0b3c3e..cf4d054dd5 100644 --- a/indra/newview/llimfloatercontainer.cpp +++ b/indra/newview/llimfloatercontainer.cpp @@ -1113,6 +1113,9 @@ void LLIMFloaterContainer::setItemSelect(const LLUUID& session_id)              mSelectedSession = session_id;              LLFolderViewItem* widget = mConversationsWidgets[session_id];              (widget->getRoot())->setSelection(widget, FALSE, FALSE); + +			// Scroll to selected item +			mConversationsRoot->scrollToShowSelection();          }      }  } @@ -1228,6 +1231,9 @@ void LLIMFloaterContainer::addConversationListItem(const LLUUID& uuid, bool isWi  	// set the widget to minimized mode if conversations pane is collapsed  	widget->toggleMinimizedMode(mConversationsPane->isCollapsed()); +	// scroll to newly added item +	mConversationsRoot->scrollToShowSelection(); +  	return;  } | 
