mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-08 07:03:25 -06:00
#2213 Formations: Select formation on a case, only if a single file is imported
This commit is contained in:
parent
8281391fb9
commit
a5300032e9
@ -74,9 +74,10 @@ void RicImportFormationNamesFeature::onActionTriggered(bool isChecked)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// For each file, find existing Formation names item, or create new
|
// For each file, find existing Formation names item, or create new
|
||||||
|
|
||||||
RimFormationNames* formationName = fomNameColl->importFiles(fileNames);
|
RimFormationNames* formationName = fomNameColl->importFiles(fileNames);
|
||||||
|
|
||||||
|
if (fileNames.size() > 1) return;
|
||||||
|
|
||||||
std::vector<RimCase*> cases;
|
std::vector<RimCase*> cases;
|
||||||
proj->allCases(cases);
|
proj->allCases(cases);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user