mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3952 Summary : Always show FOPT for new plots
This commit is contained in:
parent
240e146a1b
commit
af0c169bca
@ -425,7 +425,7 @@ void RiuSummaryCurveDefSelection::setDefaultSelection(const std::vector<SummaryS
|
|||||||
|
|
||||||
if (allSumCases.size() > 0)
|
if (allSumCases.size() > 0)
|
||||||
{
|
{
|
||||||
RifEclipseSummaryAddress defaultAddress = RifEclipseSummaryAddress();
|
RifEclipseSummaryAddress defaultAddress = RifEclipseSummaryAddress::fieldAddress("FOPT");
|
||||||
|
|
||||||
std::vector<SummarySource*> selectTheseSources = defaultSources;
|
std::vector<SummarySource*> selectTheseSources = defaultSources;
|
||||||
if (selectTheseSources.empty()) selectTheseSources.push_back(allSumCases[0]);
|
if (selectTheseSources.empty()) selectTheseSources.push_back(allSumCases[0]);
|
||||||
|
Loading…
Reference in New Issue
Block a user