Skip to content
Snippets Groups Projects
Commit 63d6c287 authored by Brendan Taylor's avatar Brendan Taylor
Browse files

fix an undefined variable when scrolling the roster

parent 8d7750b2
No related branches found
No related tags found
No related merge requests found
......@@ -316,10 +316,11 @@ class ChatControlSession(stanza_session.EncryptedStanzaSession):
# we curently see contact in our roster
# show and select his line in roster
# do not change selection while DND'ing
self.tree.expand_row(path[0:1], False)
self.tree.expand_row(path[0:2], False)
self.tree.scroll_to_cell(path)
self.tree.set_cursor(path)
tree = gajim.interface.roster.tree
tree.expand_row(path[0:1], False)
tree.expand_row(path[0:2], False)
tree.scroll_to_cell(path)
tree.set_cursor(path)
else:
if no_queue: # We didn't have a queue: we change icons
gajim.interface.roster.draw_contact(jid, self.conn.name)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment