mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5019 Sep Intersection Res: Fix missing use of user range when loading from project file
This commit is contained in:
parent
5d03ecb115
commit
53f2c94763
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user