summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorRichard Linden <none@none>2010-06-01 13:54:00 -0700
committerRichard Linden <none@none>2010-06-01 13:54:00 -0700
commit76afe7c0f5385a7eacbe96c501c0818cd4408619 (patch)
tree9079c56a1f9e30b481eaf1fe42fd91dbf08d0bf7 /indra/newview
parent7ea46b968cf7df3afc1e879f90f1124157f5a79d (diff)
parenta817981f34a9d17321a36db583076d2622bc3257 (diff)
merge
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llchathistory.cpp11
-rw-r--r--indra/newview/llchathistory.h1
2 files changed, 1 insertions, 11 deletions
diff --git a/indra/newview/llchathistory.cpp b/indra/newview/llchathistory.cpp
index bd14732b4a..06609a1fb2 100644
--- a/indra/newview/llchathistory.cpp
+++ b/indra/newview/llchathistory.cpp
@@ -845,13 +845,4 @@ void LLChatHistory::draw()
}
LLUICtrl::draw();
-}
-
-void LLChatHistory::reshape(S32 width, S32 height, BOOL called_from_parent)
-{
- bool is_scrolled_to_end = mEditor->scrolledToEnd();
- LLUICtrl::reshape( width, height, called_from_parent );
- // update scroll
- if (is_scrolled_to_end)
- mEditor->setCursorAndScrollToEnd();
-}
+} \ No newline at end of file
diff --git a/indra/newview/llchathistory.h b/indra/newview/llchathistory.h
index 950b32861b..fa1f2e04a4 100644
--- a/indra/newview/llchathistory.h
+++ b/indra/newview/llchathistory.h
@@ -122,7 +122,6 @@ class LLChatHistory : public LLUICtrl
*/
void appendMessage(const LLChat& chat, const LLSD &args = LLSD(), const LLStyle::Params& input_append_params = LLStyle::Params());
/*virtual*/ void clear();
- /*virtual*/ void reshape(S32 width, S32 height, BOOL called_from_parent = TRUE);
private:
std::string mLastFromName;