mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[vcs-log] fix illegal argument exception in speed search
Row can be null if text is not found. EA-120658
This commit is contained in:
@@ -56,7 +56,8 @@ public class VcsLogSpeedSearch extends SpeedSearchBase<VcsLogGraphTable> {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void selectElement(@NotNull Object row, @NotNull String selectedText) {
|
||||
protected void selectElement(@Nullable Object row, @NotNull String selectedText) {
|
||||
if (row == null) return;
|
||||
myComponent.jumpToRow((Integer)row);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user