mirror of
https://github.com/fadden/6502bench.git
synced 2024-11-29 10:50:28 +00:00
Minor regression test fix
This commit is contained in:
parent
c1a8ce519e
commit
5d7503686c
@ -31,6 +31,7 @@ namespace SourceGen.Tests.WpfGui {
|
||||
/// Source generation test runner.
|
||||
/// </summary>
|
||||
public partial class GenTestRunner : Window, INotifyPropertyChanged {
|
||||
// Full set of results from last run.
|
||||
private List<GenTest.GenTestResults> mLastResults;
|
||||
|
||||
private BackgroundWorker mWorker;
|
||||
@ -208,7 +209,7 @@ namespace SourceGen.Tests.WpfGui {
|
||||
outputTextBox.Text = string.Empty;
|
||||
return;
|
||||
}
|
||||
if (mLastResults == null && mLastResults.Count <= sel) {
|
||||
if (mLastResults == null || mLastResults.Count <= sel) {
|
||||
Debug.WriteLine("SelIndexChanged to " + sel + ", not available");
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user