mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
IPAL21668 Call of Edit Group leads to Crash.
This commit is contained in:
parent
df652e4ebf
commit
0fe4350ada
@ -590,7 +590,8 @@ void SMESHGUI_GroupDlg::init (SMESH::SMESH_GroupBase_ptr theGroup,
|
||||
if (!aGroupShape->_is_nil())
|
||||
{
|
||||
_PTR(SObject) aGroupShapeSO = aStudy->FindObjectID(aGroupShape->GetStudyEntry());
|
||||
aShapeName = aGroupShapeSO->GetName().c_str();
|
||||
if ( aGroupShapeSO )
|
||||
aShapeName = aGroupShapeSO->GetName().c_str();
|
||||
}
|
||||
myGeomGroupLine->setText( aShapeName );
|
||||
myNameChanged = true;
|
||||
|
Loading…
Reference in New Issue
Block a user