Commit 7cdf189f authored by David Edmundson's avatar David Edmundson Committed by Nate Graham
Browse files

[Widget Explorer] Don't set the list index to something random on mouse exit

-1 is an invalid index which makes sense. We know mouse exits get
processes before any other item's mouse in. So this would hide the
highlight. The previous code doesn't make sense

BUG: 428174
parent 5cdff962
......@@ -64,7 +64,7 @@ Item {
onEntered: delegate.GridView.view.currentIndex = index
onExited: delegate.GridView.view.currentIndex = index - 1
onExited: delegate.GridView.view.currentIndex = - 1
ColumnLayout {
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