(#596) Trim whitespace as first step to fix this issue

This commit is contained in:
Magne Sjaastad 2015-10-28 10:28:41 +01:00
parent 44463f3a41
commit 56e6fd1f6b

View File

@ -438,7 +438,8 @@ void RimWellPathAsciiFileReader::readAllWellData(QString filePath)
fileWellDataArray.push_back(WellData());
fileWellDataArray.back().m_wellPathGeometry = new RigWellPath();
fileWellDataArray.back().m_name = wellName.c_str();
QString name = wellName.c_str();
fileWellDataArray.back().m_name = name.trimmed();
}
}
}