Fix broken key management

This commit is contained in:
NoDRM 2021-12-27 10:45:36 +01:00
parent fbe9b5ea89
commit 9c6f4ecc3b
1 changed files with 1 additions and 1 deletions

View File

@ -377,7 +377,7 @@ class ManageKeysDialog(QDialog):
# New key generation cancelled.
return
if d.k_key_list is not None:
if hasattr(d, "k_key_list") and d.k_key_list is not None:
# importing multiple keys
idx = -1
dup_key_count = 0