Fix broken key management

This commit is contained in:
NoDRM 2021-12-27 10:45:36 +01:00
parent d7d1d3ddd2
commit 7524175fbb
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