Browse Source

fixed issue with missing results

pull/668/head
Ondrej Petrzilka 9 years ago
parent
commit
5261d73b9a
  1. 7
      ILSpy/SearchPane.cs

7
ILSpy/SearchPane.cs

@ -257,11 +257,12 @@ namespace ICSharpCode.ILSpy
if (this.Results[i].Fitness < result.Fitness) if (this.Results[i].Fitness < result.Fitness)
{ {
this.Results.Insert(i, result); this.Results.Insert(i, result);
break; return;
} }
} }
} this.Results.Insert(this.Results.Count - 1, result);
else }
else
{ {
// Original code // Original code
this.Results.Insert(this.Results.Count - 1, result); this.Results.Insert(this.Results.Count - 1, result);

Loading…
Cancel
Save