diff options
| author | Matthew Breindel (Falcon) <falcon@lindenlab.com> | 2010-09-22 13:01:17 -0700 | 
|---|---|---|
| committer | Matthew Breindel (Falcon) <falcon@lindenlab.com> | 2010-09-22 13:01:17 -0700 | 
| commit | 05c2f451dcbb7fdfb6d45d8b65ec71ba6b799af4 (patch) | |
| tree | 2deafbaebb2cd89cefa97ea0f700247b5e4ff6ca /indra/llui | |
| parent | 77411bac9b33e7bd4566c15a31efb45334ee44d8 (diff) | |
Minor fixes to simulator console.
Diffstat (limited to 'indra/llui')
| -rw-r--r-- | indra/llui/lllineeditor.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/indra/llui/lllineeditor.cpp b/indra/llui/lllineeditor.cpp index c0cc294c02..6564158ccc 100644 --- a/indra/llui/lllineeditor.cpp +++ b/indra/llui/lllineeditor.cpp @@ -1276,7 +1276,7 @@ BOOL LLLineEditor::handleSpecialKey(KEY key, MASK mask)  	// handle ctrl-uparrow if we have a history enabled line editor.  	case KEY_UP: -		if( mHaveHistory && ( MASK_CONTROL == mask ) ) +		if( mHaveHistory && ((mIgnoreArrowKeys == false) || ( MASK_CONTROL == mask )) )  		{  			if( mCurrentHistoryLine > mLineHistory.begin() )  			{ @@ -1291,9 +1291,9 @@ BOOL LLLineEditor::handleSpecialKey(KEY key, MASK mask)  		}  		break; -	// handle ctrl-downarrow if we have a history enabled line editor +	// handle [ctrl]-downarrow if we have a history enabled line editor  	case KEY_DOWN: -		if( mHaveHistory  && ( MASK_CONTROL == mask ) ) +		if( mHaveHistory  && ((mIgnoreArrowKeys == false) || ( MASK_CONTROL == mask )) )  		{  			if( !mLineHistory.empty() && mCurrentHistoryLine < mLineHistory.end() - 1 )  			{ | 
