Have regression testing return to the listbox window when a test has completed.

This commit is contained in:
2018-09-26 10:33:22 -05:00
parent aaf7afdd65
commit 73b11719b8
4 changed files with 36 additions and 9 deletions

View File

@ -1214,13 +1214,21 @@ namespace EduNetworkBuilder
}
}
}
answer = MessageBox.Show(NB.Translate("N_MarkAsSolvedDone"), NB.Translate("_Solved"), MessageBoxButtons.YesNo);
if (answer == DialogResult.Yes)
//If we are processing an invisible replay, do not prompt...
if (!(NB.ProcessingInvisibleNetwork() && oursettings != null && oursettings.ReplayMode))
{
KillAllExtraWindows(true);
ListBoxWindow LBW = new ListBoxWindow();
LBW.ShowDialog();
answer = MessageBox.Show(NB.Translate("N_MarkAsSolvedDone"), NB.Translate("_Solved"), MessageBoxButtons.YesNo);
if (answer == DialogResult.Yes)
{
KillAllExtraWindows(true);
ListBoxWindow LBW = new ListBoxWindow();
LBW.ShowDialog();
}
}
else
{
//We should go back to our replay window.
}
}
else