diff --git a/src/SIL.Machine/Corpora/ParallelTextCorpus.cs b/src/SIL.Machine/Corpora/ParallelTextCorpus.cs index 5f298de6..2f8a4884 100644 --- a/src/SIL.Machine/Corpora/ParallelTextCorpus.cs +++ b/src/SIL.Machine/Corpora/ParallelTextCorpus.cs @@ -576,15 +576,16 @@ public bool MoveNext() return false; } - bool result = _enumerator.MoveNext(); + _enumeratorHasMoreData = _enumerator.MoveNext(); _current = _enumerator.Current; - return result; + return _enumeratorHasMoreData; } public void Reset() { _enumerator.Reset(); _isEnumerating = false; + _enumeratorHasMoreData = true; } protected override void DisposeManagedResources()