When there is an error connecting to an account, close only this account's pass dialog. Fixes #5586

This commit is contained in:
Yann Leboulanger 2010-02-03 22:13:52 +01:00
parent 6406a9d710
commit 5b527408bb
1 changed files with 1 additions and 2 deletions

View File

@ -220,8 +220,7 @@ class Interface:
for request in self.gpg_passphrase.values():
if request:
request.interrupt()
# .keys() is needed because dict changes during loop
for account in self.pass_dialog.keys():
if account in self.pass_dialog:
self.pass_dialog[account].window.destroy()
if show == 'offline':
# sensitivity for this menuitem