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

This commit is contained in:
Magne Sjaastad
2019-01-29 10:06:30 +01:00
parent 6935ea0688
commit fde60d1e34
7 changed files with 10 additions and 13 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->openReserviorCase())
if (!mainCase->ensureReservoirCaseIsOpen())
{
QMessageBox::warning(Riu3DMainWindowTools::mainWindowWidget(),
"Error when opening project file",