Additional minor changes: fix bad layout; fix wrong statement
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 );
l->setMargin( MARGIN );
l->setSpacing( SPACING );
l->addWidget( myTabWidget );
- l->addStretch();
l->addLayout( btnLayout );
myTabWidget->setCurrentIndex( qMax( (int)BaseInfo, qMin( (int)ElemInfo, page ) ) );