don't prevent removing a sevret key when none in available. Fixes #1210

This commit is contained in:
Yann Leboulanger 2009-08-28 15:27:25 +02:00
parent 56e5629877
commit 3d6ac046f2
1 changed files with 1 additions and 2 deletions

View File

@ -2073,8 +2073,7 @@ class AccountsWindow:
secret_keys = [] secret_keys = []
if not secret_keys: if not secret_keys:
dialogs.ErrorDialog(_('Failed to get secret keys'), dialogs.ErrorDialog(_('Failed to get secret keys'),
_('There was a problem retrieving your OpenPGP secret keys.')) _('There is no OpenPGP secret key available.'))
return
secret_keys[_('None')] = _('None') secret_keys[_('None')] = _('None')
def on_key_selected(keyID): def on_key_selected(keyID):