diff --git a/ApplicationCode/Commands/RicImportFormationNamesFeature.cpp b/ApplicationCode/Commands/RicImportFormationNamesFeature.cpp index 34ee624154..aac802428e 100644 --- a/ApplicationCode/Commands/RicImportFormationNamesFeature.cpp +++ b/ApplicationCode/Commands/RicImportFormationNamesFeature.cpp @@ -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 cases; proj->allCases(cases);