IPAL21668 Call of Edit Group leads to Crash.

This commit is contained in:
dmv 2010-04-08 07:52:18 +00:00
parent df652e4ebf
commit 0fe4350ada

View File

@ -590,6 +590,7 @@ void SMESHGUI_GroupDlg::init (SMESH::SMESH_GroupBase_ptr theGroup,
if (!aGroupShape->_is_nil())
{
_PTR(SObject) aGroupShapeSO = aStudy->FindObjectID(aGroupShape->GetStudyEntry());
if ( aGroupShapeSO )
aShapeName = aGroupShapeSO->GetName().c_str();
}
myGeomGroupLine->setText( aShapeName );