aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-11-22 14:28:29 +0000
committersaturneric <[email protected]>2024-11-22 14:28:29 +0000
commit251f35d1d8aa2e369cf47931dfef488975dc6b13 (patch)
tree30c5eb728ed122b964e208a13db014c67bf6f345
parentfeat: add build option GPGFRONTEND_BUILD_APP_IMAGE (diff)
downloadGpgFrontend-251f35d1d8aa2e369cf47931dfef488975dc6b13.tar.gz
GpgFrontend-251f35d1d8aa2e369cf47931dfef488975dc6b13.zip
fix: correct table header of key db index
-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,