mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 17:32:13 -05:00
#5279 Formations GeoMech : Add const and simplify access
This commit is contained in:
1 parent
afc9ace33e
commit
1c4feade71
5 files changed
+23
-19
No files matched your search
@@ -269,11 +269,7 @@ void RimGeoMechPropertyFilter::computeResultValueRange()
|
||||
{
|
||||
if ( resultDefinition->hasCategoryResult() )
|
||||
{
|
||||
std::vector<QString> fnVector;
|
||||
if ( resultDefinition->ownerCaseData()->femPartResults()->activeFormationNames() )
|
||||
{
|
||||
fnVector = resultDefinition->ownerCaseData()->femPartResults()->activeFormationNames()->formationNames();
|
||||
}
|
||||
std::vector<QString> fnVector = resultDefinition->ownerCaseData()->femPartResults()->formationNames();
|
||||
setCategoryNames( fnVector );
|
||||
}
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user