Improve CSV import when title field isn't specified

* Fixes #10433
This commit is contained in:
Jonathan White 2024-06-01 15:24:55 -04:00
parent 54afbe6a2f
commit c3259b2610
No known key found for this signature in database
GPG key ID: 440FC65F2E0C6E01
4 changed files with 35 additions and 6 deletions

View file

@ -94,6 +94,11 @@ void CsvParserModel::setSkippedRows(int skipped)
emit layoutChanged();
}
int CsvParserModel::skippedRows() const
{
return m_skipped;
}
void CsvParserModel::setHeaderLabels(const QStringList& labels)
{
m_columnHeader = labels;