From 4201e3d55cc3bd467c2e49f694a445744f9af93f Mon Sep 17 00:00:00 2001 From: Saturneric Date: Sat, 3 Sep 2022 20:11:36 +0800 Subject: fix(ui): fix user feedback issues. 1. add the font size settings of text editor. 2. fix exception under Russia lang when doing verification. --- src/ui/widgets/KeyList.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/ui/widgets/KeyList.cpp') 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); -- cgit v1.2.3