From: isn Date: Tue, 8 Dec 2015 12:53:53 +0000 (+0300) Subject: allow additional white spaces in the attribute names X-Git-Tag: SALOME_HYDRO_V1.0~54^2^2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=46db8832379d18b71170a3f9b68d0ee176af4ccd;p=modules%2Fhydro.git allow additional white spaces in the attribute names --- diff --git a/src/HYDROGUI/HYDROGUI_ImportLandCoverMapOp.cxx b/src/HYDROGUI/HYDROGUI_ImportLandCoverMapOp.cxx index f40b69a2..437f84dd 100644 --- a/src/HYDROGUI/HYDROGUI_ImportLandCoverMapOp.cxx +++ b/src/HYDROGUI/HYDROGUI_ImportLandCoverMapOp.cxx @@ -442,7 +442,7 @@ void HYDROGUI_ImportLandCoverMapOp::onNext( const int theIndex ) aSTColors.prepend(QColor(Qt::gray)); QVector 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]);