changeset 3 | 11d3954df52a |
parent 2 | 06ff229162e9 |
child 7 | 923ff622b8b9 |
--- a/src/hbwidgets/widgets/hbgroupboxcontentwidget_p.cpp Fri May 14 16:09:54 2010 +0300 +++ b/src/hbwidgets/widgets/hbgroupboxcontentwidget_p.cpp Thu May 27 13:10:59 2010 +0300 @@ -142,6 +142,10 @@ */ void HbGroupBoxContentWidget::setContentWidget( HbWidget *widget ) { + if ( widget == mContent ) { + return; + } + // delete old content set if ( mContent ) { delete mContent;