#5019 Sep Intersection Res: Fix missing use of user range when loading from project file

This commit is contained in:
Jacob Støren 2019-11-21 09:24:24 +01:00
parent 5d03ecb115
commit 53f2c94763

View File

@ -101,6 +101,9 @@
#include <QMessageBox>
#include "RimGridView.h"
#include "RimIntersectionResultDefinition.h"
#include "RimIntersectionResultsDefinitionCollection.h"
#include <climits>
CAF_PDM_SOURCE_INIT( RimEclipseView, "ReservoirView" );
@ -1846,6 +1849,12 @@ void RimEclipseView::onResetLegendsInViewer()
this->cellResult()->ternaryLegendConfig()->recreateLegend();
this->cellEdgeResult()->legendConfig()->recreateLegend();
for ( RimIntersectionResultDefinition* sepInterResDef :
this->separateIntersectionResultsCollection()->intersectionResultsDefinitions() )
{
sepInterResDef->regularLegendConfig()->recreateLegend();
}
nativeOrOverrideViewer()->removeAllColorLegends();
}