Fix Export to CSV bug. Header have wrong title.
--HG-- branch : develop
This commit is contained in:
parent
c7256dbe0c
commit
90fe5d379e
|
@ -679,7 +679,7 @@ void TMainWindow::ExportToCSVData(const QString &fileName, bool withHeader, int
|
||||||
{
|
{
|
||||||
if (not ui->tableWidget->isColumnHidden(column))
|
if (not ui->tableWidget->isColumnHidden(column))
|
||||||
{
|
{
|
||||||
QTableWidgetItem *header = ui->tableWidget->horizontalHeaderItem(colCount);
|
QTableWidgetItem *header = ui->tableWidget->horizontalHeaderItem(column);
|
||||||
csv.setHeaderText(colCount, header->text());
|
csv.setHeaderText(colCount, header->text());
|
||||||
++colCount;
|
++colCount;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user