The catalogue now loads the list of databases en there is a table model that can show this data.
This commit is contained in:
parent
a9430bca1a
commit
20af12535e
22 changed files with 504 additions and 118 deletions
|
|
@ -33,7 +33,7 @@ QVariant TypeSelectionItemModel::data(const QModelIndex &index, int role) const
|
|||
int column = index.column();
|
||||
if (role == Qt::DisplayRole) {
|
||||
if (column == 0) {
|
||||
const PgType &tp = m_types->getTypeByIdx(row);
|
||||
const PgType &tp = m_types->getByIdx(row);
|
||||
result = tp.typname;
|
||||
|
||||
// switch (row) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue