Commit 4d35747a authored by Prince Gupta's avatar Prince Gupta Committed by Pierre Lamot
Browse files

qml: fix invalid property access in ExpandGridView

parent 2e1d7e29
...@@ -417,7 +417,8 @@ NavigableFocusScope { ...@@ -417,7 +417,8 @@ NavigableFocusScope {
Loader { Loader {
id: footerItemLoader id: footerItemLoader
focus: item.focus
focus: status == Loader.Ready ? item.focus : false
y: root.topMargin + root.headerHeight + (root._effectiveCellHeight * (Math.ceil(model.count / getNbItemsPerRow()))) + y: root.topMargin + root.headerHeight + (root._effectiveCellHeight * (Math.ceil(model.count / getNbItemsPerRow()))) +
_expandItemVerticalSpace _expandItemVerticalSpace
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment