on xenial help sign in
also reset drag.target
ba47b65Michael Zanetti
qml/Launcher/LauncherPanel.qml+1
@@ -345,6 +345,7 @@ Rectangle {
345 draggedIndex = -1;
345 draggedIndex = -1;
346 preDragging = false;
346 preDragging = false;
347 postDragging = false;
347 postDragging = false;
348+ drag.target = undefined;
348 }
349 }
349
350
350 onReleased: {
351 onReleased: {
tests/qmltests/Launcher/tst_Launcher.qml+1
@@ -488,6 +488,7 @@ Item {
488 // Make sure the dnd operation has been stopped
488 // Make sure the dnd operation has been stopped
489 tryCompare(draggedItem, "dragging", false)
489 tryCompare(draggedItem, "dragging", false)
490 tryCompare(dndArea, "draggedIndex", -1)
490 tryCompare(dndArea, "draggedIndex", -1)
491+ tryCompare(dndArea, "drag.target", undefined)
491 }
492 }
492
493
493 function test_quicklist_dismiss() {
494 function test_quicklist_dismiss() {