From 46db8832379d18b71170a3f9b68d0ee176af4ccd Mon Sep 17 00:00:00 2001 From: isn Date: Tue, 8 Dec 2015 15:53:53 +0300 Subject: [PATCH] allow additional white spaces in the attribute names --- src/HYDROGUI/HYDROGUI_ImportLandCoverMapOp.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]); -- 2.39.2