Fix broken key management

This commit is contained in:
NoDRM 2021-12-27 10:45:36 +01:00
parent fbe9b5ea89
commit 9c6f4ecc3b

View File

@ -377,7 +377,7 @@ class ManageKeysDialog(QDialog):
# New key generation cancelled. # New key generation cancelled.
return 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 # importing multiple keys
idx = -1 idx = -1
dup_key_count = 0 dup_key_count = 0