From b9d805701f29b2bd5155cc7e40842552376c6e5a Mon Sep 17 00:00:00 2001 From: "Vladislav.Soroka" Date: Tue, 18 Mar 2014 12:35:08 +0400 Subject: [PATCH] sm.runner: StatisticsPanel row selection fix --- .../testframework/sm/runner/ui/statistics/StatisticsPanel.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/smRunner/src/com/intellij/execution/testframework/sm/runner/ui/statistics/StatisticsPanel.java b/platform/smRunner/src/com/intellij/execution/testframework/sm/runner/ui/statistics/StatisticsPanel.java index 5f7abe9f7579..55de358b5e89 100644 --- a/platform/smRunner/src/com/intellij/execution/testframework/sm/runner/ui/statistics/StatisticsPanel.java +++ b/platform/smRunner/src/com/intellij/execution/testframework/sm/runner/ui/statistics/StatisticsPanel.java @@ -284,7 +284,8 @@ public class StatisticsPanel implements DataProvider { public void run() { final int rowIndex = myTableModel.getIndexOf(proxy); if (rowIndex >= 0) { - myStatisticsTableView.setRowSelectionInterval(rowIndex, rowIndex); + final int rowIndexToView = myStatisticsTableView.convertRowIndexToView(rowIndex); + myStatisticsTableView.setRowSelectionInterval(rowIndexToView, rowIndexToView); } } });