From 191bcced1cb4c734adf2a506e49d24bcb64d38b0 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 19 Jul 2011 11:27:02 +0000 Subject: [PATCH] 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 --- src/SMESHGUI/SMESHGUI_CopyMeshDlg.cxx | 1 + 1 file changed, 1 insertion(+) 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 { -- 2.39.2