mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2289 Source Stepping : Always return first case from visible curve cases
This commit is contained in:
parent
75c94cce7e
commit
f3975c8986
@ -490,7 +490,7 @@ RimSummaryCase* RimSummaryPlotSourceStepping::singleSummaryCase() const
|
||||
}
|
||||
}
|
||||
|
||||
if (cases.size() == 1)
|
||||
if (cases.size() > 0)
|
||||
{
|
||||
return *(cases.begin());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user