Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bug 527140 - Dragging file contents deletes it from file.
  • Loading branch information
squarti committed Nov 13, 2017
1 parent 928237e commit 3885b1a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -82,7 +82,7 @@ define("orion/editor/textDND", ['orion/util'], function(util) { //$NON-NLS-1$ //
}
}
if (this._undoStack) { this._undoStack.startCompoundChange(); }
var move = dropEffect === "move"; //$NON-NLS-0$
var move = dropEffect === "move" && this._dropText; //$NON-NLS-0$
if (move) {
view.setText({text: "", selection: this._dragSelection});
}
Expand Down

0 comments on commit 3885b1a

Please sign in to comment.