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,6 +590,7 @@ void SMESHGUI_GroupDlg::init (SMESH::SMESH_GroupBase_ptr theGroup,
|
|||||||
if (!aGroupShape->_is_nil())
|
if (!aGroupShape->_is_nil())
|
||||||
{
|
{
|
||||||
_PTR(SObject) aGroupShapeSO = aStudy->FindObjectID(aGroupShape->GetStudyEntry());
|
_PTR(SObject) aGroupShapeSO = aStudy->FindObjectID(aGroupShape->GetStudyEntry());
|
||||||
|
if ( aGroupShapeSO )
|
||||||
aShapeName = aGroupShapeSO->GetName().c_str();
|
aShapeName = aGroupShapeSO->GetName().c_str();
|
||||||
}
|
}
|
||||||
myGeomGroupLine->setText( aShapeName );
|
myGeomGroupLine->setText( aShapeName );
|
||||||
|
Loading…
Reference in New Issue
Block a user