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:
parent
98a9d8e922
commit
5ce68d84d7
1 changed files with 1 additions and 0 deletions
|
@ -323,6 +323,7 @@ public class SystemViewDataDragAdapter extends DragSourceAdapter
|
|||
}
|
||||
else
|
||||
{
|
||||
event.data = new EditorInputTransfer.EditorInputData[0];
|
||||
event.detail = DND.DROP_NONE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue