aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/import_export/KeyServerImportDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/dialog/import_export/KeyServerImportDialog.cpp')
-rw-r--r--src/ui/dialog/import_export/KeyServerImportDialog.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/dialog/import_export/KeyServerImportDialog.cpp b/src/ui/dialog/import_export/KeyServerImportDialog.cpp
index 49438c44..599d512d 100644
--- a/src/ui/dialog/import_export/KeyServerImportDialog.cpp
+++ b/src/ui/dialog/import_export/KeyServerImportDialog.cpp
@@ -366,6 +366,10 @@ void KeyServerImportDialog::slot_import() {
}
if (!key_ids.empty()) {
SlotImport(key_ids, key_server_combo_box_->currentText());
+ } else {
+ QMessageBox::warning(
+ this, tr("Warning"),
+ tr("Please select one KeyPair before doing this operation."));
}
}