Close #48, Fix that table lists come up with columns to small.

This commit is contained in:
eelke 2019-07-07 14:05:30 +02:00
parent d7763e83bf
commit 894e740401

View file

@ -105,6 +105,7 @@ void CatalogTablesPage::setCatalog(std::shared_ptr<PgDatabaseCatalog> cat)
void CatalogTablesPage::setNamespaceFilter(NamespaceFilter filter) void CatalogTablesPage::setNamespaceFilter(NamespaceFilter filter)
{ {
m_tablesModel->setNamespaceFilter(filter); m_tablesModel->setNamespaceFilter(filter);
m_tableView->resizeColumnsToContents();
} }
void CatalogTablesPage::tableListTable_currentRowChanged(const QModelIndex &current, const QModelIndex &previous) void CatalogTablesPage::tableListTable_currentRowChanged(const QModelIndex &current, const QModelIndex &previous)