mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
quickfix for IDEA-125710 (Wrong selection behavior in file history window)
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user