Fix key error on removing account
This commit is contained in:
parent
d24bed12ce
commit
50514393f5
|
@ -1558,6 +1558,8 @@ class RosterWindow:
|
||||||
"""
|
"""
|
||||||
if not self.tree.get_model():
|
if not self.tree.get_model():
|
||||||
return
|
return
|
||||||
|
if account not in gajim.connections:
|
||||||
|
return
|
||||||
delimiter = gajim.connections[account].nested_group_delimiter
|
delimiter = gajim.connections[account].nested_group_delimiter
|
||||||
group_splited = group.split(delimiter)
|
group_splited = group.split(delimiter)
|
||||||
i = 1
|
i = 1
|
||||||
|
|
Loading…
Reference in New Issue