upgrade the self.account var when we change the name of the account (fix #279)
This commit is contained in:
parent
288b68dd53
commit
c3437d2d14
|
@ -1150,6 +1150,7 @@ class Account_modification_window:
|
|||
del gajim.connections[self.account]
|
||||
gajim.config.del_per('accounts', self.account)
|
||||
gajim.config.add_per('accounts', name)
|
||||
self.account = name
|
||||
|
||||
for opt in config:
|
||||
gajim.config.set_per('accounts', name, opt, config[opt])
|
||||
|
|
Loading…
Reference in New Issue