Commit 14fc2f1b authored by Alexander Semke's avatar Alexander Semke

[spreadsheet] properly determin the last row to export if we export a

spreadsheet with integer column(s).
parent a2a6e971
......@@ -3264,7 +3264,7 @@ int SpreadsheetView::maxRowToExport() const {
//at the moment, we need to export the whole column.
//this logic needs to be adjusted once we're able to descriminate
//between empty and 0 values for integer columns
maxRow = m_spreadsheet->rowCount();
maxRow = m_spreadsheet->rowCount() - 1;
} else if (mode == AbstractColumn::ColumnMode::DateTime) {
for (int i = 0; i < m_spreadsheet->rowCount(); ++i) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment