Autosize column of column overview.
This commit is contained in:
parent
7051ef2efc
commit
3424b62aa0
1 changed files with 1 additions and 0 deletions
|
|
@ -41,5 +41,6 @@ void TablesPage::on_tableListTable_currentRowChanged(const QModelIndex ¤t,
|
||||||
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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue