Fix missing update of export well name

This commit is contained in:
Magne Sjaastad
2022-09-15 08:19:41 +02:00
parent 129c4a0e34
commit a8fbb4f70e
5 changed files with 25 additions and 9 deletions
@@ -102,6 +102,18 @@ void RiaWellNameComparer::clearCache()
sm_matchedName.clear();
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
QString RiaWellNameComparer::removeSpacesFromName( const QString& wellName )
{
// Eclipse do not support spaces in names in text files. Use this function whenever a string is used in export to
// text files for Eclipse
QString tmp = wellName;
return tmp.remove( ' ' );
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
@@ -38,6 +38,8 @@ public:
static void clearCache();
static QString removeSpacesFromName( const QString& wellName );
private:
static QString tryMatchName( QString searchName,
const std::vector<QString>& nameList,