From: eap Date: Tue, 19 Jul 2011 11:27:02 +0000 (+0000) Subject: 0021327: EDF 1915 SMESH: impossible to select a group to copy mesh X-Git-Tag: V6_4_0a1~155 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=191bcced1cb4c734adf2a506e49d24bcb64d38b0;p=modules%2Fsmesh.git 0021327: EDF 1915 SMESH: impossible to select a group to copy mesh trim white spaces at end of object name, else the object seems not selected --- diff --git a/src/SMESHGUI/SMESHGUI_CopyMeshDlg.cxx b/src/SMESHGUI/SMESHGUI_CopyMeshDlg.cxx index b4cc800a0..f873d067f 100644 --- a/src/SMESHGUI/SMESHGUI_CopyMeshDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_CopyMeshDlg.cxx @@ -507,6 +507,7 @@ void SMESHGUI_CopyMeshDlg::SelectionIntoArgument() { SMESH::GetNameOfSelectedIObjects( mySelectionMgr, aString ); if ( aString.isEmpty() ) aString = " "; + else aString = aString.trimmed(); // issue 0021327 } else {