mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-08-27 20:09:23 +00:00
files: walk tree in pre order
In post order we seem to have the folders after the files so we can't correctly set the parent in the tree store.
This commit is contained in:
parent
3a725e641b
commit
78abff4d8c
|
@ -155,7 +155,7 @@ public class TreeStore : Gtk.TreeStore
|
|||
}
|
||||
|
||||
return 0;
|
||||
}, Ggit.TreeWalkMode.POST);
|
||||
}, Ggit.TreeWalkMode.PRE);
|
||||
} catch (Error e) { }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue