[app] Reset target view state after failed drop
This commit is contained in:
parent
34075dd73d
commit
3878491e1f
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue