mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-10-31 04:58:58 +00:00
Fix child_changed update_separator code
When we move a child, three childrens separators may be affected. The moved child, the one after the new position, and the one *after* the previous position (as it got a new before). However, we were looking at the one before the previous location => bug.
This commit is contained in:
parent
4f369213e3
commit
7ece2dfcb5
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ public class Egg.ListBox : Container {
|
|||
if (info == null)
|
||||
return;
|
||||
|
||||
var prev_next = get_previous_visible (info.iter);
|
||||
var prev_next = get_next_visible (info.iter);
|
||||
|
||||
if (sort_func != null) {
|
||||
children.sort_changed (info.iter, do_sort);
|
||||
|
|
Loading…
Reference in a new issue