listbase: Fix an off-by-one error
We were accidentally cutting off the set one-too-early, which showed up as single clicks not selecting an item anymore.
This commit is contained in:
@@ -1355,7 +1355,7 @@ range_cb (guint position,
|
||||
{
|
||||
GtkSet *set = data;
|
||||
|
||||
gtk_set_find_range (set, position, gtk_set_get_max (set), start, n_items, selected);
|
||||
gtk_set_find_range (set, position, gtk_set_get_max (set) + 1, start, n_items, selected);
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user