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
This commit is contained in:
eap 2011-07-19 11:27:02 +00:00
parent d3d686d410
commit 191bcced1c

View File

@ -507,6 +507,7 @@ void SMESHGUI_CopyMeshDlg::SelectionIntoArgument()
{
SMESH::GetNameOfSelectedIObjects( mySelectionMgr, aString );
if ( aString.isEmpty() ) aString = " ";
else aString = aString.trimmed(); // issue 0021327
}
else
{