Commit ccb22bae authored by Pierre Lamot's avatar Pierre Lamot
Browse files

qml: fix binding loop on focus property in GridItem

parent e447dd40
......@@ -25,7 +25,7 @@ import org.videolan.medialib 0.1
import "qrc:///widgets/" as Widgets
import "qrc:///style/"
Item {
FocusScope {
id: root
property alias image: picture.source
......@@ -135,7 +135,7 @@ Item {
anchors.fill: parent
implicitWidth: layout.implicitWidth
implicitHeight: layout.implicitHeight
focus: root.activeFocus
focus: true
/* background visible when selected */
Rectangle {
Supports Markdown
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