aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/keypair_details/KeyPairSubkeyTab.cpp
diff options
context:
space:
mode:
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);