mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-11 16:19:16 +05:00
[bos #39969][CEA] Mesh name change wehn submesh is edited.
This commit is contained in:
parent
1dab7a05bb
commit
d2cb3e2d6f
@ -2631,7 +2631,7 @@ bool SMESHGUI_MeshOp::editMeshOrSubMesh( QString& theMess, QStringList& theEntry
|
|||||||
|
|
||||||
_PTR(SObject) aMeshSO = SMESH::FindSObject(aMesh.in());
|
_PTR(SObject) aMeshSO = SMESH::FindSObject(aMesh.in());
|
||||||
if (aMeshSO) {
|
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());
|
theEntryList.append(aMeshSO->GetID().c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user