mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 18:32:10 -05:00
Code adjustments
This commit is contained in:
1 parent
612dfd7c9f
commit
9853c15ec6
3 files changed
+27
-7
No files matched your search
@@ -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