summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rosca <nowrep@gmail.com>2017-01-01 10:10:54 (GMT)
committerDavid Rosca <nowrep@gmail.com>2017-01-01 20:17:23 (GMT)
commitf21aa35e9946722142026131e18b87bc1b8b1ff6 (patch)
treea5790c822ea87c040a0ae121cf14f26553b41283
parent646471c2f33138c6868eb118a4bc0d1f318f7f91 (diff)
Applet: Don't delete delegates while drag is active
BUG: 374288 Differential Revision: https://phabricator.kde.org/D3898
-rw-r--r--applet/contents/ui/ListItemBase.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/applet/contents/ui/ListItemBase.qml b/applet/contents/ui/ListItemBase.qml
index a16079d..afc7e02 100644
--- a/applet/contents/ui/ListItemBase.qml
+++ b/applet/contents/ui/ListItemBase.qml
@@ -46,6 +46,8 @@ PlasmaComponents.ListItem {
checked: dropArea.containsDrag
opacity: (draggedStream && draggedStream.deviceIndex == Index) ? 0.3 : 1.0
+ ListView.delayRemove: dragArea.dragActive
+
DragAndDrop.DropArea {
id: dropArea
anchors.fill: parent