diff --git a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/ChangesTreeList.java b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/ChangesTreeList.java index 9ae9b9548d6d..deb05661ec4f 100644 --- a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/ChangesTreeList.java +++ b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/ChangesTreeList.java @@ -219,6 +219,13 @@ public abstract class ChangesTreeList extends JPanel implements TypeSafeDataP : myTree.getPathForLocation(e.getX(), e.getY()); if (clickPath == null) return false; + final int row = myTree.getRowForLocation(e.getPoint().x, e.getPoint().y); + if (row >= 0) { + final Rectangle baseRect = myTree.getRowBounds(row); + baseRect.setSize(checkboxWidth, baseRect.height); + if (baseRect.contains(e.getPoint())) return false; + } + myDoubleClickHandler.run(); return true; }