try to fix a TB
This commit is contained in:
parent
435f4ad0a0
commit
5720ddba59
|
@ -49,8 +49,10 @@ class RosterWindow:
|
||||||
|
|
||||||
def get_account_iter(self, name):
|
def get_account_iter(self, name):
|
||||||
if self.regroup:
|
if self.regroup:
|
||||||
return None
|
return
|
||||||
model = self.tree.get_model()
|
model = self.tree.get_model()
|
||||||
|
if model is None:
|
||||||
|
return
|
||||||
account = model.get_iter_root()
|
account = model.get_iter_root()
|
||||||
while account:
|
while account:
|
||||||
account_name = model.get_value(account, 3)
|
account_name = model.get_value(account, 3)
|
||||||
|
|
Loading…
Reference in New Issue