--- a/emailuis/emailui/src/ncscomposeviewcontainer.cpp Tue Jan 26 11:45:42 2010 +0200
+++ b/emailuis/emailui/src/ncscomposeviewcontainer.cpp Tue Feb 02 00:02:40 2010 +0200
@@ -705,16 +705,20 @@
// This is called through MNcsFieldSizeObserver when the rects have changed
// -----------------------------------------------------------------------------
//
-TBool CNcsComposeViewContainer::UpdateFieldSizeL()
+TBool CNcsComposeViewContainer::UpdateFieldSizeL( TBool aDoScroll )
{
FUNC_LOG;
// We may not have finished construction
- if ( iHeader && iMessageField && iReadOnlyQuoteField )
+ if ( iHeader && iMessageField && iReadOnlyQuoteField && !aDoScroll )
{
SizeChanged();
DrawDeferred();
}
+ if ( iHeader && aDoScroll )
+ {
+ iHeader->DoScrollL();
+ }
return EFalse;
}