mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Code adjustments
This commit is contained in:
@@ -69,11 +69,15 @@ QString RiaWellNameComparer::tryMatchNameInList(QString searchName, const std::v
|
||||
}
|
||||
|
||||
// Try matching ignoring spaces, dashes and underscores
|
||||
return tryMatchName(searchName, nameList, [](const QString& str) {
|
||||
QString s = str;
|
||||
s = removeWellNamePrefix(s);
|
||||
return s.remove(' ').remove('-').remove('_');
|
||||
});
|
||||
return tryMatchName(searchName,
|
||||
nameList,
|
||||
[](const QString& str)
|
||||
{
|
||||
QString s = str;
|
||||
s = removeWellNamePrefix(s);
|
||||
return s.remove(' ').remove('-').remove('_');
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user