Commit a507a48e authored by Tranter Madi's avatar Tranter Madi 🌧 Committed by Nate Graham
Browse files

ListItemDragHandle: Emit moveRequest when cursor enters a new index

BUG: 451014
FIXED-IN: 5.93
parent 3ccfae68
Pipeline #156088 passed with stage
in 2 minutes and 8 seconds
......@@ -126,7 +126,7 @@ Item {
function arrangeItem() {
var newIndex = listView.indexAt(1, listView.contentItem.mapFromItem(listItem, 0, 0).y + internal.mouseDownY);
if (Math.abs(listItem.y - internal.startY) > height && newIndex > -1 && newIndex !== index) {
if (newIndex > -1 && newIndex !== index) {
root.moveRequested(index, newIndex);
}
}
......
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