Fault import : Skip reading if same line contains end keyword

This commit is contained in:
Magne Sjaastad 2014-08-27 09:21:52 +02:00
parent 781d008f07
commit b90c230d5c

View File

@ -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)