From c503439a328124fa790fdb5cbf5a756e2c1b3e30 Mon Sep 17 00:00:00 2001 From: Bas Leijdekkers Date: Sat, 31 May 2014 22:01:53 +0200 Subject: [PATCH] quickfix for IDEA-125710 (Wrong selection behavior in file history window) --- .../intellij/openapi/vcs/history/FileHistoryPanelImpl.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/platform/vcs-impl/src/com/intellij/openapi/vcs/history/FileHistoryPanelImpl.java b/platform/vcs-impl/src/com/intellij/openapi/vcs/history/FileHistoryPanelImpl.java index 753f24d0f057..f8daa55b0e8f 100644 --- a/platform/vcs-impl/src/com/intellij/openapi/vcs/history/FileHistoryPanelImpl.java +++ b/platform/vcs-impl/src/com/intellij/openapi/vcs/history/FileHistoryPanelImpl.java @@ -406,14 +406,9 @@ public class FileHistoryPanelImpl extends PanelWithActionsAndCloseButton { final TreeTableView treeView = myDualView.getTreeView(); final int lastRow = treeView.getRowCount() - 1; if (lastRow >= 0) { - treeView.addRowSelectionInterval(lastRow, lastRow); treeView.scrollRectToVisible(treeView.getCellRect(lastRow, 0, true)); } } - final TableView flatView = myDualView.getFlatView(); - if (flatView.getRowCount() > 0) { - flatView.addRowSelectionInterval(0, 0); - } myInRefresh = false; myTargetSelection = null;