Commit d1f2b1e5 authored by Eike Hein's avatar Eike Hein

Don't pin during reordering by DND.

Adds back code accidentally removed in 8709b7ed.

BUG:376572
CCMAIL:david@davidedmundson.co.uk
parent 07b9ef64
......@@ -121,6 +121,12 @@ Item {
}
onDrop: {
// Reject internal drops.
if (event.mimeData.formats.indexOf("application/x-orgkdeplasmataskmanager_taskbuttonitem") >= 0) {
event.ignore();
return;
}
// Reject plasmoid drops.
if (event.mimeData.formats.indexOf("text/x-plasmoidservicename") >= 0) {
event.ignore();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment