#2213 Formations: Select formation on a case, only if a single file is imported

This commit is contained in:
Rebecca Cox 2017-12-01 15:38:29 +01:00
parent 8281391fb9
commit a5300032e9

View File

@ -74,9 +74,10 @@ void RicImportFormationNamesFeature::onActionTriggered(bool isChecked)
}
// For each file, find existing Formation names item, or create new
RimFormationNames* formationName = fomNameColl->importFiles(fileNames);
if (fileNames.size() > 1) return;
std::vector<RimCase*> cases;
proj->allCases(cases);