changeset 16577:467698ab6bf0

Fix an odd selection issue when moving up.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sat, 28 Apr 2007 10:07:22 +0000
parents 7c57d294d20b
children bb017d30aacd 3d4579c1dc44 60f9ac8421ef
files finch/libgnt/gnttree.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/finch/libgnt/gnttree.c	Sat Apr 28 09:37:45 2007 +0000
+++ b/finch/libgnt/gnttree.c	Sat Apr 28 10:07:22 2007 +0000
@@ -152,9 +152,7 @@
 
 	while(row->next)
 		row = row->next;
-	if (!row->collapsed && row->child)
-		row = get_last_child(row->child);
-	return row;
+	return get_last_child(row);
 }
 
 static GntTreeRow *