From dd0e21afb57792867575feaefb071f0fe7dfebbf Mon Sep 17 00:00:00 2001 From: eelke Date: Tue, 19 Dec 2017 18:16:05 +0100 Subject: [PATCH] Improved titles of index columns in the list of columns. --- pglab/ColumnTableModel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pglab/ColumnTableModel.cpp b/pglab/ColumnTableModel.cpp index db15c6c..bd175e5 100644 --- a/pglab/ColumnTableModel.cpp +++ b/pglab/ColumnTableModel.cpp @@ -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"; }