mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5279 Formations GeoMech : Add const and simplify access
This commit is contained in:
@@ -697,11 +697,7 @@ void RimGeoMechResultDefinition::updateLegendTextAndRanges( RimRegularLegendConf
|
||||
|
||||
if ( this->hasCategoryResult() )
|
||||
{
|
||||
std::vector<QString> fnVector;
|
||||
if ( gmCase->femPartResults()->activeFormationNames() )
|
||||
{
|
||||
fnVector = gmCase->femPartResults()->activeFormationNames()->formationNames();
|
||||
}
|
||||
std::vector<QString> fnVector = gmCase->femPartResults()->formationNames();
|
||||
legendConfigToUpdate->setNamedCategoriesInverse( fnVector );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user