Autosize column of column overview.

This commit is contained in:
eelke 2017-12-17 20:05:09 +01:00
parent 7051ef2efc
commit 3424b62aa0

View file

@ -41,5 +41,6 @@ void TablesPage::on_tableListTable_currentRowChanged(const QModelIndex &current,
if (current.row() != previous.row()) { if (current.row() != previous.row()) {
PgClass table = m_tablesModel->getTable(current.row()); PgClass table = m_tablesModel->getTable(current.row());
m_columnsModel->setData(m_catalog, table); m_columnsModel->setData(m_catalog, table);
ui->columnsTable->resizeColumnsToContents();
} }
} }