diff --git a/platform/vcs-api/src/com/intellij/vcsUtil/VcsSelectionUtil.java b/platform/vcs-api/src/com/intellij/vcsUtil/VcsSelectionUtil.java index f1d323f05d8a..c29362858e11 100644 --- a/platform/vcs-api/src/com/intellij/vcsUtil/VcsSelectionUtil.java +++ b/platform/vcs-api/src/com/intellij/vcsUtil/VcsSelectionUtil.java @@ -37,9 +37,6 @@ public class VcsSelectionUtil { Editor editor = context.getEditor(); if (editor == null) return null; SelectionModel selectionModel = editor.getSelectionModel(); - if (!selectionModel.hasSelection()) { - return null; - } return new VcsSelection(editor.getDocument(), selectionModel); } } \ No newline at end of file