--- a/emailuis/uicomponents/src/fscontrolbuttonvisualiser.cpp Fri Feb 19 22:37:30 2010 +0200
+++ b/emailuis/uicomponents/src/fscontrolbuttonvisualiser.cpp Fri Mar 12 15:41:14 2010 +0200
@@ -1266,8 +1266,11 @@
}
if ( iButtonModel->ContainsElement( ECBElemLabelFirstLine ) )
{
- iLabelFirstLine->SetSize( text1.Size() );
- iLabelFirstLine->SetPos( text1.iTl );
+ if ( iLabelFirstLine )
+ {
+ iLabelFirstLine->SetSize( text1.Size() );
+ iLabelFirstLine->SetPos( text1.iTl );
+ }
}
if ( iButtonModel->ContainsElement( ECBElemLabelSndLine ) )
{