diff --git a/ApplicationCode/Application/RiaMemoryCleanup.cpp b/ApplicationCode/Application/RiaMemoryCleanup.cpp index ecfb05e607..15deb8b822 100644 --- a/ApplicationCode/Application/RiaMemoryCleanup.cpp +++ b/ApplicationCode/Application/RiaMemoryCleanup.cpp @@ -218,9 +218,14 @@ QList RiaMemoryCleanup::calculateValueOptions(const caf: RimProject* proj = RiaApplication::instance()->project(); if (proj) { - std::vector cases = proj->geoMechCases(); + std::vector eclipseCases = proj->eclipseCases(); + for (RimEclipseCase* c : eclipseCases) + { + options.push_back(caf::PdmOptionItemInfo(c->caseUserDescription(), c, false, c->uiIcon())); + } - for (RimGeoMechCase* c : cases) + std::vector geoMechCases = proj->geoMechCases(); + for (RimGeoMechCase* c : geoMechCases) { options.push_back(caf::PdmOptionItemInfo(c->caseUserDescription(), c, false, c->uiIcon())); }