mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#8277 StimPlan : Use case insensitive string compare for facies and formations
This commit is contained in:
@@ -99,8 +99,9 @@ double RimElasticPropertyScalingCollection::getScaling( const QString&
|
||||
{
|
||||
for ( const RimElasticPropertyScaling* scaling : m_elasticPropertyScalings )
|
||||
{
|
||||
if ( scaling->property() == property && scaling->formation() == formationName &&
|
||||
scaling->facies() == faciesName && scaling->isChecked() )
|
||||
if ( scaling->property() == property &&
|
||||
( scaling->formation().compare( formationName, Qt::CaseInsensitive ) == 0 ) &&
|
||||
( scaling->facies().compare( faciesName, Qt::CaseInsensitive ) == 0 ) && scaling->isChecked() )
|
||||
{
|
||||
return scaling->scale();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user