#2064 Fix wrong timestep range text in Gui. Complete Fix #1986. Make it possible with Visible cells and FlowDiag/Injection flooding

This commit is contained in:
Jacob Støren
2017-10-27 17:12:25 +02:00
parent 88b8bdf5c2
commit 46e8144f3b
6 changed files with 32 additions and 15 deletions

View File

@@ -179,7 +179,7 @@ void RiuSelectionChangedHandler::addCurveFromSelectionItem(const RiuEclipseSelec
{
RimEclipseView* eclipseView = eclipseSelectionItem->m_view.p();
if (eclipseView->cellResult()->resultType() == RiaDefines::FLOW_DIAGNOSTICS)
if (eclipseView->cellResult()->isFlowDiagOrInjectionFlooding())
{
// NB! Do not read out data for flow results, as this can be a time consuming operation