mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Revert "#4018 Result management : Use ensureReservoirCaseIsOpen instead of open..."
This reverts commit fde60d1e34.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user