don't prevent removing a sevret key when none in available. Fixes #1210
This commit is contained in:
parent
56e5629877
commit
3d6ac046f2
|
@ -2073,8 +2073,7 @@ class AccountsWindow:
|
|||
secret_keys = []
|
||||
if not secret_keys:
|
||||
dialogs.ErrorDialog(_('Failed to get secret keys'),
|
||||
_('There was a problem retrieving your OpenPGP secret keys.'))
|
||||
return
|
||||
_('There is no OpenPGP secret key available.'))
|
||||
secret_keys[_('None')] = _('None')
|
||||
|
||||
def on_key_selected(keyID):
|
||||
|
|
Loading…
Reference in New Issue