Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3d686d
)
0021327: EDF 1915 SMESH: impossible to select a group to copy mesh
author
eap
<eap@opencascade.com>
Tue, 19 Jul 2011 11:27:02 +0000
(11:27 +0000)
committer
eap
<eap@opencascade.com>
Tue, 19 Jul 2011 11:27:02 +0000
(11:27 +0000)
trim white spaces at end of object name, else the object seems not selected
src/SMESHGUI/SMESHGUI_CopyMeshDlg.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHGUI/SMESHGUI_CopyMeshDlg.cxx
b/src/SMESHGUI/SMESHGUI_CopyMeshDlg.cxx
index b4cc800a043d12d71f194f30f2f7e0b8cf411dcf..f873d067f9462c55bf72e9b015a5cb4a28032f1b 100644
(file)
--- 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
{