fix layout in reverse mode

Change-Id: Ib81611f149821fc79669ae191a03daeba840b802
This commit is contained in:
Marco Martin 2015-01-27 19:36:58 +01:00
parent 4b1970cf83
commit c17ed3a107

View File

@ -204,7 +204,7 @@ Item {
for (var i = 0; i < childCount; ++i, itemIndex += increment) { for (var i = 0; i < childCount; ++i, itemIndex += increment) {
var child = root.children[itemIndex] var child = root.children[itemIndex]
if (!child.visible || root.children[i].text === undefined) { if (!child.visible || root.children[itemIndex].text === undefined) {
continue continue
} }