[app] Reset target view state after failed drop

This commit is contained in:
Slava Monich 2021-12-12 19:17:06 +02:00
parent 34075dd73d
commit 3878491e1f

View file

@ -301,6 +301,9 @@ Item {
// This hides the target item until the grag item makes it to the destination:
dragItem.dropShelfIndex = currentShelfIndex
dragItem.dropItemIndex = targetIndex
} else {
currentShelf.hasDummyItem = false
currentShelf.dummyItemIndex = -1
}
}
}