Browse Source

Fix #1860: Drag & Drop to Assembly tree does not work in certain cases

pull/1880/head
Siegfried Pammer 6 years ago
parent
commit
f1a8498908
  1. 2
      ILSpy/TreeNodes/AssemblyListTreeNode.cs

2
ILSpy/TreeNodes/AssemblyListTreeNode.cs

@ -82,7 +82,7 @@ namespace ICSharpCode.ILSpy.TreeNodes @@ -82,7 +82,7 @@ namespace ICSharpCode.ILSpy.TreeNodes
public override bool CanDrop(DragEventArgs e, int index)
{
e.Effects = DragDropEffects.Move;
e.Effects = DragDropEffects.Move | DragDropEffects.Copy | DragDropEffects.Link;
if (e.Data.GetDataPresent(AssemblyTreeNode.DataFormat))
return true;
else if (e.Data.GetDataPresent(DataFormats.FileDrop))

Loading…
Cancel
Save