mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-21 14:03:18 -06:00
#2350 Elm props: Fix crash when table has only one data column
This commit is contained in:
parent
e22ceb5cc2
commit
0dc0533501
@ -124,7 +124,7 @@ void RifElementPropertyTableReader::readData(const RifElementPropertyMetadata *m
|
||||
|
||||
if (!dataBlockFound)
|
||||
{
|
||||
if (!line.startsWith("*") && cols.size() == expectedColumnCount) dataBlockFound = true;
|
||||
if (!line.startsWith("*") && !line.startsWith(",") && cols.size() == expectedColumnCount) dataBlockFound = true;
|
||||
else continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user