mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#829 Eclipse: Set default legend mapping and color range when selecting a category result
This commit is contained in:
@@ -157,6 +157,8 @@ void RimEclipseResultDefinition::fieldChangedByUi(const caf::PdmFieldHandle* cha
|
||||
|
||||
if (dynamic_cast<RimEclipseCellColors*>(this))
|
||||
{
|
||||
this->updateLegendCategorySettings();
|
||||
|
||||
if (view)
|
||||
{
|
||||
RimViewLinker* viewLinker = view->assosiatedViewLinker();
|
||||
@@ -169,6 +171,7 @@ void RimEclipseResultDefinition::fieldChangedByUi(const caf::PdmFieldHandle* cha
|
||||
|
||||
if (cellEdgeColors)
|
||||
{
|
||||
cellEdgeColors->singleVarEdgeResultColors()->updateLegendCategorySettings();
|
||||
cellEdgeColors->loadResult();
|
||||
|
||||
if (view)
|
||||
|
||||
Reference in New Issue
Block a user