#2350 Elm props: Fix crash when table has only one data column

This commit is contained in:
Rebecca Cox 2018-01-10 10:21:14 +01:00
parent e22ceb5cc2
commit 0dc0533501

View File

@ -124,7 +124,7 @@ void RifElementPropertyTableReader::readData(const RifElementPropertyMetadata *m
if (!dataBlockFound) if (!dataBlockFound)
{ {
if (!line.startsWith("*") && cols.size() == expectedColumnCount) dataBlockFound = true; if (!line.startsWith("*") && !line.startsWith(",") && cols.size() == expectedColumnCount) dataBlockFound = true;
else continue; else continue;
} }