Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Commit 468642d

Browse files
fix #363: Drag/Drop to watch pad removes selection from editor
1 parent 1856b21 commit 468642d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/AddIns/Debugger/Debugger.AddIn/Pads/WatchPad.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,11 @@ public override void Paste(IDataObject data)
166166

167167
pad.AddWatch(watchValue);
168168
}
169+
170+
public override DragDropEffects GetDropEffect(DragEventArgs e, int index)
171+
{
172+
return DragDropEffects.Copy;
173+
}
169174
}
170175

171176
static class WpfExtensions

0 commit comments

Comments
 (0)