mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-11 07:56:08 -06:00
Ensemble import. Do not show warning dialog if there are no errors
This commit is contained in:
parent
228b4a5f85
commit
2dd8744743
@ -87,13 +87,14 @@ bool RicImportEnsembleFeature::validateEnsembleCases(std::vector<RimSummaryCase*
|
||||
}
|
||||
}
|
||||
|
||||
errors.append("\n");
|
||||
errors.append("No parameters file (parameters.txt or runspecification.xml) was found in \n");
|
||||
errors.append("the searched folders. ResInsight searches the home folder of the summary \n");
|
||||
errors.append("case file and the three folder levels above that.\n");
|
||||
|
||||
if (!errors.isEmpty())
|
||||
{
|
||||
errors.append("\n");
|
||||
errors.append("No parameters file (parameters.txt or runspecification.xml) was found in \n");
|
||||
errors.append("the searched folders. ResInsight searches the home folder of the summary \n");
|
||||
errors.append("case file and the three folder levels above that.\n");
|
||||
|
||||
throw errors;
|
||||
}
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user