Improved titles of index columns in the list of columns.
This commit is contained in:
parent
d1114793a1
commit
dd0e21afb5
1 changed files with 2 additions and 2 deletions
|
|
@ -48,9 +48,9 @@ QVariant ColumnTableModel::headerData(int section, Qt::Orientation orientation,
|
|||
if (section >= colCount) {
|
||||
const auto &tbl_idx = m_indexes[section - colCount];
|
||||
if (tbl_idx.isprimary)
|
||||
c = "Pri";
|
||||
c = "PK";
|
||||
else if (tbl_idx.isunique)
|
||||
c = "Unq";
|
||||
c = "UIdx";
|
||||
else
|
||||
c = "Idx";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue