#4168 Treat some properties as categories.

This commit is contained in:
Gaute Lindkvist
2019-03-05 12:37:58 +01:00
parent ac7eccee88
commit b6a2bcfa59
6 changed files with 95 additions and 115 deletions

View File

@@ -1159,7 +1159,7 @@ void RimEclipseView::updateLegends()
{
if (this->cellEdgeResult()->isUsingSingleVariable())
{
this->cellEdgeResult()->singleVarEdgeResultColors()->updateLegendData(m_currentTimeStep);
this->cellEdgeResult()->singleVarEdgeResultColors()->updateLegendData(m_eclipseCase, m_currentTimeStep);
}
else
{
@@ -1226,7 +1226,7 @@ void RimEclipseView::updateMinMaxValuesAndAddLegendToView(QString
RimEclipseCellColors* resultColors,
RigCaseCellResultsData* cellResultsData)
{
resultColors->updateLegendData(m_currentTimeStep);
resultColors->updateLegendData(m_eclipseCase, m_currentTimeStep);
if (resultColors->hasResult() && resultColors->legendConfig()->showLegend())
{