diff -r e1b6206813b4 -r f5907b1a1053 emailuis/emailui/src/ncsaifeditor.cpp --- a/emailuis/emailui/src/ncsaifeditor.cpp Fri Feb 19 22:37:30 2010 +0200 +++ b/emailuis/emailui/src/ncsaifeditor.cpp Fri Mar 12 15:41:14 2010 +0200 @@ -980,10 +980,11 @@ pos++; // for whitespace } - // Reset the text - SetCursorPosL( 0, EFalse ); //In case the cursor pos is invalid + // Reset the text HBufC* text = NULL; text = GetFormattedAddressListLC( iArray ); + // fix for dissapearing text PWAN-82DNEJ + SetCursorPosL( 0, EFalse ); //In case the cursor pos is invalid if ( iAddLeftover ) { @@ -1317,6 +1318,12 @@ // add line feed after new entry TInt cursorPos( CursorPos() ); + // related to PWAN-82DNEJ cursorPos shouldn't be 0 here + if (cursorPos == 0) + { + cursorPos = TextLength(); + } + if ( !iPartialRemove ) { Text()->InsertL( cursorPos, TChar(CEditableText::ELineBreak) );