on xenial help sign in
also reset drag.target
commitba47b658f06e9f4460b72e246a8defcd7c08f9c3 authorMichael Zanetti <michael.zanetti@canonical.com> dateFri 17 Apr 2015, 12:53 (12 years ago) parentb277112
2 files changed+2
qml/Launcher/LauncherPanel.qml+1 tests/qmltests/Launcher/tst_Launcher.qml+1
qml/Launcher/LauncherPanel.qml+1
@@ -345,6 +345,7 @@ Rectangle {
345345 draggedIndex = -1;
346346 preDragging = false;
347347 postDragging = false;
348+ drag.target = undefined;
348349 }
349350
350351 onReleased: {
tests/qmltests/Launcher/tst_Launcher.qml+1
@@ -488,6 +488,7 @@ Item {
488488 // Make sure the dnd operation has been stopped
489489 tryCompare(draggedItem, "dragging", false)
490490 tryCompare(dndArea, "draggedIndex", -1)
491+ tryCompare(dndArea, "drag.target", undefined)
491492 }
492493
493494 function test_quicklist_dismiss() {