| 51 | } |
| 52 | |
| 53 | void FlowDiffUtils::SelectNextRow(SListView<TSharedPtr<FDiffSingleResult>>& ListView, const TArray<TSharedPtr<FDiffSingleResult>>& ListViewSource) |
| 54 | { |
| 55 | const int32 CurrentIndex = GetCurrentIndex(ListView, ListViewSource); |
| 56 | const int32 NextIndex = CurrentIndex + 1; |
| 57 | if (ListViewSource.IsValidIndex(NextIndex)) |
| 58 | { |
| 59 | ListView.SetSelection(ListViewSource[NextIndex]); |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | void FlowDiffUtils::SelectPrevRow(SListView<TSharedPtr<FDiffSingleResult>>& ListView, const TArray<TSharedPtr<FDiffSingleResult>>& ListViewSource) |
| 64 | { |
nothing calls this directly
no test coverage detected