aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/widgets/KeyList.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-09-03 12:11:36 +0000
committerSaturneric <[email protected]>2022-09-03 12:11:36 +0000
commit4201e3d55cc3bd467c2e49f694a445744f9af93f (patch)
tree281aa2ad51b2753d6295e821a14d8b1737484855 /src/ui/widgets/KeyList.cpp
parentfeat(project): support freebsd build (diff)
downloadGpgFrontend-4201e3d55cc3bd467c2e49f694a445744f9af93f.tar.gz
GpgFrontend-4201e3d55cc3bd467c2e49f694a445744f9af93f.zip
fix(ui): fix user feedback issues.
1. add the font size settings of text editor. 2. fix exception under Russia lang when doing verification.
Diffstat (limited to 'src/ui/widgets/KeyList.cpp')
-rw-r--r--src/ui/widgets/KeyList.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ui/widgets/KeyList.cpp b/src/ui/widgets/KeyList.cpp
index 0bd65f25..ad76467e 100644
--- a/src/ui/widgets/KeyList.cpp
+++ b/src/ui/widgets/KeyList.cpp
@@ -379,7 +379,9 @@ void KeyList::dragEnterEvent(QDragEnterEvent* event) {
*
*/
[[maybe_unused]] void KeyList::MarkKeys(QStringList* keyIds) {
- foreach (QString id, *keyIds) { qDebug() << "marked: " << id; }
+ foreach (QString id, *keyIds) {
+ qDebug() << "marked: " << id;
+ }
}
void KeyList::import_keys(const QByteArray& inBuffer) {
@@ -442,6 +444,8 @@ void KeyList::slot_sync_with_key_server() {
}
}
+ if (key_ids.empty()) return;
+
ui_->refreshKeyListButton->setDisabled(true);
ui_->syncButton->setDisabled(true);