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