IDEA-202946 vcs: enable "History for Selection" without selection

This commit is contained in:
Aleksey Pivovarov
2018-11-26 18:31:57 +03:00
parent 5f689918e8
commit 7e1f936cae
@@ -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);
}
}