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

@@ -71,10 +71,13 @@ void RicfExportProperty::execute()
return;
}
if (!eclipseCase->ensureReservoirCaseIsOpen())
if (!eclipseCase->eclipseCaseData())
{
RiaLogging::error(QString("exportProperty: Could not find eclipseCaseData with ID %1").arg(m_caseId()));
return;
if (!eclipseCase->openReserviorCase())
{
RiaLogging::error(QString("exportProperty: Could not find eclipseCaseData with ID %1").arg(m_caseId()));
return;
}
}
}