From cd15397dd5a07464249673f1d0204d09daa0dbe2 Mon Sep 17 00:00:00 2001 From: Nadya Zabrodina Date: Wed, 15 Oct 2014 17:17:15 +0400 Subject: [PATCH] IDEA-131301 Push dialog has wrong indents in the commit tree view *expand/collapse tree icons removed for single-repo project --- platform/dvcs-impl/src/com/intellij/dvcs/push/ui/PushLog.java | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/dvcs-impl/src/com/intellij/dvcs/push/ui/PushLog.java b/platform/dvcs-impl/src/com/intellij/dvcs/push/ui/PushLog.java index 818e04a36426..a833365a118f 100644 --- a/platform/dvcs-impl/src/com/intellij/dvcs/push/ui/PushLog.java +++ b/platform/dvcs-impl/src/com/intellij/dvcs/push/ui/PushLog.java @@ -117,6 +117,7 @@ public class PushLog extends JPanel implements TypeSafeDataProvider { } }; myTree.setEditable(true); + myTree.setShowsRootHandles(root.getChildCount() > 1); MyTreeCellEditor treeCellEditor = new MyTreeCellEditor(); myTree.setCellEditor(treeCellEditor); treeCellEditor.addCellEditorListener(new CellEditorListener() {