From ea218f37f91eba31e544b6811b8ac8d31de9109e Mon Sep 17 00:00:00 2001 From: irengrig Date: Thu, 1 Nov 2012 13:50:28 +0400 Subject: [PATCH] IDEA-93961 Git log: "Refresh" buttons activates branches display always --- plugins/git4idea/src/git4idea/history/wholeTree/GitLogUI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/git4idea/src/git4idea/history/wholeTree/GitLogUI.java b/plugins/git4idea/src/git4idea/history/wholeTree/GitLogUI.java index eb478c55aa7b..01e9acb66616 100644 --- a/plugins/git4idea/src/git4idea/history/wholeTree/GitLogUI.java +++ b/plugins/git4idea/src/git4idea/history/wholeTree/GitLogUI.java @@ -1637,7 +1637,7 @@ public class GitLogUI implements Disposable { myTableModel.useDateGroupingStrategy(); } - myEqualToHeadr.getParent().setVisible(! myThereIsDisordering); + myEqualToHeadr.getParent().setVisible(! myThereIsDisordering && myMyShowTreeAction.isSelected(null)); if (! haveFilters) { /*if (myMyShowTreeAction.isSelected(null)) { myEqualToHeadr.getParent().setVisible(true);