Fix reference error in Highlight
ListView is just the namespace, we have to check for ListView.view's existance
This commit is contained in:
parent
f35539da1f
commit
a45a18e810
@ -46,7 +46,7 @@ Item {
|
|||||||
//in the case we are the highlight of a listview, it follows the mouse, so hover = true
|
//in the case we are the highlight of a listview, it follows the mouse, so hover = true
|
||||||
property bool hover: ListView ? true : false
|
property bool hover: ListView ? true : false
|
||||||
property bool pressed: false
|
property bool pressed: false
|
||||||
width: ListView ? ListView.view.width : undefined
|
width: ListView.view ? ListView.view.width : undefined
|
||||||
|
|
||||||
Connections {
|
Connections {
|
||||||
target: highlight.ListView.view
|
target: highlight.ListView.view
|
||||||
|
Loading…
x
Reference in New Issue
Block a user