1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-04 23:55:26 +02:00

[142954] need to return 0 array rather than null in the data of the drag event, when what is being dragged to editor is invalid.

This commit is contained in:
David McKnight 2006-11-21 20:13:18 +00:00
parent 98a9d8e922
commit 5ce68d84d7

View file

@ -323,6 +323,7 @@ public class SystemViewDataDragAdapter extends DragSourceAdapter
}
else
{
event.data = new EditorInputTransfer.EditorInputData[0];
event.detail = DND.DROP_NONE;
}
}