#991 Statistics: Do not modify selected results when loading project file

This commit is contained in:
Magne Sjaastad
2016-11-23 10:23:59 +01:00
parent 57aa47ecdd
commit 1b1831e5e1
3 changed files with 25 additions and 5 deletions

View File

@@ -378,7 +378,8 @@ RimEclipseStatisticsCase* RimIdenticalGridCaseGroup::createAndAppendStatisticsCa
newStatisticsCase->caseUserDescription = QString("Statistics ") + QString::number(statisticsCaseCollection()->reservoirs.size()+1);
statisticsCaseCollection()->reservoirs.push_back(newStatisticsCase);
newStatisticsCase->populateResultSelectionAfterLoadingGrid();
newStatisticsCase->openEclipseGridFile();
return newStatisticsCase;