Revert "#4018 Result management : Use ensureReservoirCaseIsOpen instead of open..."

This reverts commit fde60d1e34.
This commit is contained in:
Magne Sjaastad
2019-01-29 10:06:30 +01:00
parent 4c5e277ebf
commit 7518a1880a
7 changed files with 13 additions and 10 deletions

View File

@@ -171,7 +171,7 @@ void RimIdenticalGridCaseGroup::loadMainCaseAndActiveCellInfo()
// When reading active cell info, only the total cell count is tested for consistency
RimEclipseCase* mainCase = caseCollection()->reservoirs[0];
if (!mainCase->ensureReservoirCaseIsOpen())
if (!mainCase->openReserviorCase())
{
QMessageBox::warning(Riu3DMainWindowTools::mainWindowWidget(),
"Error when opening project file",