Skip to content
Snippets Groups Projects
Commit d6fcb401 authored by bigpod's avatar bigpod
Browse files

small fix on single click

parent 3117e656
No related branches found
No related tags found
No related merge requests found
......@@ -1941,7 +1941,8 @@ class roster_window:
type = model.get_value(iter, 2)
if (type == 'group'):
if (self.tree.row_expanded(path)):
if x <= self.pixbufs['opened'].get_pixbuf()\ #The integer 10 is the xoffset
#The integer 10 is the xoffset
if x <= self.pixbufs['opened'].get_pixbuf()\
.get_width()+10:
self.tree.collapse_row(path)
else:
......
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