[bos #39969][CEA] Mesh name change wehn submesh is edited.

This commit is contained in:
cesarconopoima 2023-12-04 11:53:16 +00:00
parent 1dab7a05bb
commit d2cb3e2d6f

View File

@ -2631,7 +2631,7 @@ bool SMESHGUI_MeshOp::editMeshOrSubMesh( QString& theMess, QStringList& theEntry
_PTR(SObject) aMeshSO = SMESH::FindSObject(aMesh.in());
if (aMeshSO) {
SMESH::SetName(aMeshSO, myDlg->objectText(SMESHGUI_MeshDlg::Obj));
if (aSubMeshVar->_is_nil()) SMESH::SetName(aMeshSO, myDlg->objectText(SMESHGUI_MeshDlg::Obj));
theEntryList.append(aMeshSO->GetID().c_str());
}