aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llchatbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llchatbar.cpp')
-rw-r--r--linden/indra/newview/llchatbar.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/linden/indra/newview/llchatbar.cpp b/linden/indra/newview/llchatbar.cpp
index a6feac7..539c935 100644
--- a/linden/indra/newview/llchatbar.cpp
+++ b/linden/indra/newview/llchatbar.cpp
@@ -118,8 +118,8 @@ LLChatBar::LLChatBar(const std::string& name, const LLRect& rect)
118 mInputEditor->setRevertOnEsc( FALSE ); 118 mInputEditor->setRevertOnEsc( FALSE );
119 mInputEditor->setIgnoreTab(TRUE); 119 mInputEditor->setIgnoreTab(TRUE);
120 mInputEditor->setPassDelete(TRUE); 120 mInputEditor->setPassDelete(TRUE);
121
122 mInputEditor->setMaxTextLength(1023); 121 mInputEditor->setMaxTextLength(1023);
122 mInputEditor->setEnableLineHistory(TRUE);
123 } 123 }
124 124
125 // Build the list of gestures 125 // Build the list of gestures
@@ -446,6 +446,8 @@ void LLChatBar::sendChat( EChatType type )
446 446
447 if (!text.empty()) 447 if (!text.empty())
448 { 448 {
449 // store sent line in history, duplicates will get filtered
450 mInputEditor->updateHistory();
449 // Check if this is destined for another channel 451 // Check if this is destined for another channel
450 S32 channel = 0; 452 S32 channel = 0;
451 stripChannelNumber(text, &channel); 453 stripChannelNumber(text, &channel);