aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/keypair_details/KeyPairSubkeyTab.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-11-29 04:43:00 +0000
committerSaturneric <[email protected]>2021-11-29 04:47:06 +0000
commit839878e0a2c5dff8ed9d9422aaeebeee0e5ba964 (patch)
tree2b93ba3943053871ba39fd1b80966521bd77b4e8 /src/ui/keypair_details/KeyPairSubkeyTab.cpp
parentFix Known Bugs. (diff)
downloadGpgFrontend-839878e0a2c5dff8ed9d9422aaeebeee0e5ba964.tar.gz
GpgFrontend-839878e0a2c5dff8ed9d9422aaeebeee0e5ba964.zip
Solve uid management, related update and other known issues.
Diffstat (limited to '')
-rw-r--r--src/ui/keypair_details/KeyPairSubkeyTab.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/ui/keypair_details/KeyPairSubkeyTab.cpp b/src/ui/keypair_details/KeyPairSubkeyTab.cpp
index a2841f50..61007b37 100644
--- a/src/ui/keypair_details/KeyPairSubkeyTab.cpp
+++ b/src/ui/keypair_details/KeyPairSubkeyTab.cpp
@@ -177,6 +177,12 @@ void KeyPairSubkeyTab::slotRefreshSubkeyList() {
tmp4->setTextAlignment(Qt::AlignCenter);
subkeyList->setItem(row, 4, tmp4);
+ if (!row) {
+ for (auto i = 0; i < subkeyList->columnCount(); i++) {
+ subkeyList->item(row, i)->setTextColor(QColor(65, 105, 255));
+ }
+ }
+
row++;
}
@@ -255,7 +261,8 @@ void KeyPairSubkeyTab::createSubkeyOperaMenu() {
}
void KeyPairSubkeyTab::slotEditSubkey() {
- LOG(INFO) << "KeyPairSubkeyTab::slotEditSubkey Fpr" << getSelectedSubkey().fpr();
+ LOG(INFO) << "KeyPairSubkeyTab::slotEditSubkey Fpr"
+ << getSelectedSubkey().fpr();
auto dialog =
new KeySetExpireDateDialog(mKey.id(), getSelectedSubkey().fpr(), this);