sm.runner: StatisticsPanel row selection fix

This commit is contained in:
Vladislav.Soroka
2014-03-18 12:35:08 +04:00
parent 3b538ef97b
commit b9d805701f
@@ -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);
}
}
});