Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Problems found due to execution of MESH-075 GUI scenario
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_XmlHandler.cxx
diff --git
a/src/SMESHGUI/SMESHGUI_XmlHandler.cxx
b/src/SMESHGUI/SMESHGUI_XmlHandler.cxx
index b5c53d4b56d516d504ce42e5cc76efb463e07324..cb27cf9b421b3ff4b497bf2ee6cf3a14e549bf23 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_XmlHandler.cxx
+++ b/
src/SMESHGUI/SMESHGUI_XmlHandler.cxx
@@
-161,8
+161,9
@@
bool SMESHGUI_XmlHandler::startElement (const QString&, const QString&,
for ( int i = 0; i < NB_ATTRIBUTES; ++i ) {
QString aStr = atts.value( name[i] );
if ( !aStr.isEmpty() ) {
for ( int i = 0; i < NB_ATTRIBUTES; ++i ) {
QString aStr = atts.value( name[i] );
if ( !aStr.isEmpty() ) {
- aStr.remove( ' ' );
- attr[ i ] = aStr.split( ',', QString::SkipEmptyParts );
+ attr[i] = aStr.split( ',', QString::SkipEmptyParts );
+ for ( int j = 0; j < attr[i].count(); ++j )
+ attr[i][j] = attr[i][j].trimmed();
}
}
}
}