mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-07 06:33:05 -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
|
||||
|
||||
RimFormationNames* formationName = fomNameColl->importFiles(fileNames);
|
||||
|
||||
if (fileNames.size() > 1) return;
|
||||
|
||||
std::vector<RimCase*> cases;
|
||||
proj->allCases(cases);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user