aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/controller/GnuPGControllerDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/dialog/controller/GnuPGControllerDialog.cpp')
-rw-r--r--src/ui/dialog/controller/GnuPGControllerDialog.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/dialog/controller/GnuPGControllerDialog.cpp b/src/ui/dialog/controller/GnuPGControllerDialog.cpp
index 12fda8a3..2e817ba9 100644
--- a/src/ui/dialog/controller/GnuPGControllerDialog.cpp
+++ b/src/ui/dialog/controller/GnuPGControllerDialog.cpp
@@ -394,6 +394,9 @@ void GnuPGControllerDialog::slot_refresh_key_database_table() {
auto* i_name = new QTableWidgetItem(key_database.name);
i_name->setTextAlignment(Qt::AlignCenter);
+
+ ui_->keyDatabaseTable->setVerticalHeaderItem(
+ index, new QTableWidgetItem(QString::number(index)));
ui_->keyDatabaseTable->setItem(index, 0, i_name);
ui_->keyDatabaseTable->setItem(index, 1,