From: vsr Date: Wed, 5 Oct 2011 08:39:05 +0000 (+0000) Subject: 0021359: [CEA] Mesh information X-Git-Tag: V6_4_0a1~50 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6dce27e43b2e7d7696b7f31070e7b76899f3bb06;p=modules%2Fsmesh.git 0021359: [CEA] Mesh information Additional minor changes: fix bad layout; fix wrong statement --- diff --git a/src/SMESHGUI/SMESHGUI_MeshInfo.cxx b/src/SMESHGUI/SMESHGUI_MeshInfo.cxx index 03873945a..a4126452c 100644 --- a/src/SMESHGUI/SMESHGUI_MeshInfo.cxx +++ b/src/SMESHGUI/SMESHGUI_MeshInfo.cxx @@ -1359,7 +1359,7 @@ void SMESHGUI_AddInfo::meshInfo( SMESH::SMESH_Mesh_ptr mesh, QTreeWidgetItem* pa if ( CORBA::is_nil(gobj ) ) continue; int smType = gobj->GetShapeType(); - if ( smType == GEOM::COMPSOLID ) smType == GEOM::COMPOUND; + if ( smType == GEOM::COMPSOLID ) smType = GEOM::COMPOUND; if ( !itemSubMeshes ) { itemSubMeshes = createItem( parent, Bold | All ); @@ -1591,7 +1591,6 @@ SMESHGUI_MeshInfoDlg::SMESHGUI_MeshInfoDlg( QWidget* parent, int page ) l->setMargin( MARGIN ); l->setSpacing( SPACING ); l->addWidget( myTabWidget ); - l->addStretch(); l->addLayout( btnLayout ); myTabWidget->setCurrentIndex( qMax( (int)BaseInfo, qMin( (int)ElemInfo, page ) ) );