fix enabling accounts

This commit is contained in:
Yann Leboulanger 2017-08-22 23:25:07 +02:00
parent ce719a8317
commit 3357622c2d
1 changed files with 1 additions and 1 deletions

View File

@ -2582,7 +2582,7 @@ class AccountsWindow:
if app.connections[account].gpg:
self.xml.get_object('gpg_choose_button2').set_sensitive(True)
else:
app.connections[account] = common.connection.Connection(account)
app.connections[account] = connection.Connection(account)
if app.connections[account].gpg:
self.xml.get_object('gpg_choose_button1').set_sensitive(True)
self.init_account_gpg()