]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
allow additional white spaces in the attribute names
authorisn <isn@opencascade.com>
Tue, 8 Dec 2015 12:53:53 +0000 (15:53 +0300)
committerisn <isn@opencascade.com>
Tue, 8 Dec 2015 12:53:53 +0000 (15:53 +0300)
src/HYDROGUI/HYDROGUI_ImportLandCoverMapOp.cxx

index f40b69a2383616c688aa9d23ed81637d51706af6..437f84dd4b58f4d0ede044c8d325feb93e57b232 100644 (file)
@@ -442,7 +442,7 @@ void HYDROGUI_ImportLandCoverMapOp::onNext( const int theIndex )
     aSTColors.prepend(QColor(Qt::gray));
     
     QVector<int> aCurCBIndices(aSetOfAttrValuesList.size());
-    if (DefStricklerTableObj->GetAttrName() == aPanel->getSelectedFieldName())
+    if (DefStricklerTableObj->GetAttrName().trimmed() == aPanel->getSelectedFieldName().trimmed())
       for (int i = 0; i < aSetOfAttrValuesList.size(); i++)
       {
         QString aST = DefStricklerTableObj->GetType(aSetOfAttrValuesList[i]);