mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-26 16:26:48 -06:00
Fault import : Skip reading if same line contains end keyword
This commit is contained in:
parent
781d008f07
commit
b90c230d5c
@ -824,9 +824,11 @@ bool RifEclipseInputFileTools::readFaultsAndParseIncludeStatementsRecursively(QF
|
||||
}
|
||||
else if (line.startsWith(faultsKeyword, Qt::CaseInsensitive))
|
||||
{
|
||||
readFaults(file, file.pos(), faults, isEditKeywordDetected);
|
||||
|
||||
filenamesWithFaults.push_back(file.fileName());
|
||||
if (!line.contains("/"))
|
||||
{
|
||||
readFaults(file, file.pos(), faults, isEditKeywordDetected);
|
||||
filenamesWithFaults.push_back(file.fileName());
|
||||
}
|
||||
}
|
||||
|
||||
if (isEditKeywordDetected && *isEditKeywordDetected)
|
||||
|
Loading…
Reference in New Issue
Block a user