mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-26 23:20:29 -05:00
#5019 Sep Intersection Res: Fix missing use of user range when loading from project file
This commit is contained in:
1 parent
5d03ecb115
commit
53f2c94763
1 file changed
+9
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user