From 3d6ac046f24693ff62f04c65a7ab43b3ddd2c515 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Fri, 28 Aug 2009 15:27:25 +0200 Subject: [PATCH] don't prevent removing a sevret key when none in available. Fixes #1210 --- src/config.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/config.py b/src/config.py index 43f030bc1..8d36742e2 100644 --- a/src/config.py +++ b/src/config.py @@ -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):