--- a/emailuis/emailui/src/ncsattachmentfield.cpp Wed Apr 14 15:42:15 2010 +0300
+++ b/emailuis/emailui/src/ncsattachmentfield.cpp Tue Apr 27 16:20:14 2010 +0300
@@ -663,8 +663,8 @@
FUNC_LOG;
CCoeControl::HandlePointerEventL( aPointerEvent );
- if ( Rect().Contains( aPointerEvent.iPosition ) &&
- aPointerEvent.iType == TPointerEvent::EButton1Down )
+ if ( aPointerEvent.iType == TPointerEvent::EButton1Down &&
+ Rect().Contains( aPointerEvent.iPosition ) )
{
TBool focusedAttachmentLabelIndexChanged( EFalse );
TInt i( 0 );
@@ -706,7 +706,7 @@
iAttachmentLabels[i]->SetFocus( i==iFocusedLabelIndex );
}
UpdateColors();
- DrawNow();
+ DrawDeferred();
}
}
}