mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-64432: IllegalArgumentException: Row index out of range
This commit is contained in:
@@ -379,7 +379,9 @@ public class FindDialog extends DialogWrapper {
|
||||
@Override
|
||||
public void run() {
|
||||
model.addRow(new Object[]{usage});
|
||||
if (model.getRowCount() == 1) myResultsPreviewTable.setRowSelectionInterval(0, 0);
|
||||
if (model.getRowCount() == 1 && myResultsPreviewTable.getModel() == model) {
|
||||
myResultsPreviewTable.setRowSelectionInterval(0, 0);
|
||||
}
|
||||
}
|
||||
}, state);
|
||||
return resultsCount.incrementAndGet() < ShowUsagesAction.USAGES_PAGE_SIZE;
|
||||
|
||||
Reference in New Issue
Block a user