MCPcopy Create free account
hub / github.com/MothCocoon/FlowGraph / SelectNextRow

Method SelectNextRow

Source/FlowEditor/Private/Asset/SFlowDiff.cpp:53–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53void 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
63void FlowDiffUtils::SelectPrevRow(SListView<TSharedPtr<FDiffSingleResult>>& ListView, const TArray<TSharedPtr<FDiffSingleResult>>& ListViewSource)
64{

Callers

nothing calls this directly

Calls 1

GetCurrentIndexFunction · 0.85

Tested by

no test coverage detected