X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_TranslationDlg.cxx;h=641ec5c7b39b3864b8b70f2f322cfa2071fcedc2;hb=ed456586bfb1411c5bff73b221658766689a6253;hp=de761dd5f6d7c4d7b81e99e498d39cba4b3db56c;hpb=e4737e85f0da6d3f90fd08f6be1c2825195fe16f;p=modules%2Fsmesh.git diff --git a/src/SMESHGUI/SMESHGUI_TranslationDlg.cxx b/src/SMESHGUI/SMESHGUI_TranslationDlg.cxx index de761dd5f..641ec5c7b 100644 --- a/src/SMESHGUI/SMESHGUI_TranslationDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_TranslationDlg.cxx @@ -560,7 +560,10 @@ void SMESHGUI_TranslationDlg::SelectionIntoArgument() myMesh = SMESH::GetMeshByIO(IO); if(myMesh->_is_nil()) return; + myActor = SMESH::FindActorByObject(myMesh); + if (!myActor) + myActor = SMESH::FindActorByEntry(IO->getEntry()); if (!myActor) return;