Commit bbcbf98c authored by Alexander Semke's avatar Alexander Semke

[sql import] fixed showing the data type in the preview table.

parent 49a001aa
......@@ -360,7 +360,7 @@ void ImportSQLDatabaseWidget::refreshPreview() {
numeric = false;
//header item
QTableWidgetItem* item = new QTableWidgetItem(m_columnNames[i] + QLatin1String(" {") + ENUM_TO_STRING(AbstractColumn, AbstractColumn::ColumnMode, mode) + QLatin1String("}"));
QTableWidgetItem* item = new QTableWidgetItem(m_columnNames[i] + QLatin1String(" {") + ENUM_TO_STRING(AbstractColumn, ColumnMode, mode) + QLatin1String("}"));
item->setTextAlignment(Qt::AlignLeft);
item->setIcon(AbstractColumn::iconForMode(mode));
ui.twPreview->setHorizontalHeaderItem(i, item);
......
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