changeset 1 | 12c456ceeff2 |
parent 0 | 8466d47a6819 |
--- a/emailuis/uicomponents/src/fstextviewerselectsmanager.cpp Thu Dec 17 08:39:21 2009 +0200 +++ b/emailuis/uicomponents/src/fstextviewerselectsmanager.cpp Thu Jan 07 12:38:38 2010 +0200 @@ -107,9 +107,13 @@ } } - select->SetId( aId ); - select->AppendVisualL( aVisual ); - iSelects.AppendL( select ); + + if (select) + { + select->SetId( aId ); + select->AppendVisualL( aVisual ); + iSelects.AppendL( select ); + } } else {