The oid column is now shown for tables that are "with oids".
This commit is contained in:
parent
172e2bcd1d
commit
7051ef2efc
5 changed files with 23 additions and 9 deletions
|
|
@ -39,7 +39,7 @@ void TablesPage::setCatalog(std::shared_ptr<PgDatabaseCatalog> cat)
|
|||
void TablesPage::on_tableListTable_currentRowChanged(const QModelIndex ¤t, const QModelIndex &previous)
|
||||
{
|
||||
if (current.row() != previous.row()) {
|
||||
Oid table_oid = m_tablesModel->getTableOid(current.row());
|
||||
m_columnsModel->setData(m_catalog, table_oid);
|
||||
PgClass table = m_tablesModel->getTable(current.row());
|
||||
m_columnsModel->setData(m_catalog, table);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue