Fix can't click and drag to select text in the Debugger "Watch" pane

#63302
This commit is contained in:
isidor 2018-11-16 17:13:42 +01:00
parent 869e960b45
commit bea83357a6

View file

@ -353,7 +353,7 @@ class WatchExpressionsDragAndDrop extends DefaultDragAndDrop {
}
public getDragURI(tree: ITree, element: Expression): string {
if (!(element instanceof Expression)) {
if (!(element instanceof Expression) || element === this.debugService.getViewModel().getSelectedExpression()) {
return null;
}