Fix puzzle selection issue
This commit is contained in:
parent
49b2f63698
commit
65f14420f7
@ -378,11 +378,8 @@ namespace EduNetworkBuilder
|
||||
}
|
||||
if(selected != null && selected != "")
|
||||
{
|
||||
foreach (object one in lbWindowData.Items)
|
||||
{
|
||||
if(one.ToString() == selected)
|
||||
lbWindowData.SelectedItem = selected;
|
||||
}
|
||||
if (selectedIndex >= 0 && selectedIndex < lbWindowData.Items.Count)
|
||||
lbWindowData.SelectedIndex = selectedIndex;
|
||||
}
|
||||
if(lbWindowData.SelectedIndex != -1)
|
||||
{
|
||||
@ -788,8 +785,8 @@ namespace EduNetworkBuilder
|
||||
oursettings.ScoreList.Add(TheName);
|
||||
}
|
||||
}
|
||||
UpdateForm();
|
||||
}
|
||||
UpdateForm();
|
||||
}
|
||||
if (MyMode == LBContents.regressiontest)
|
||||
UpdateForm();
|
||||
|
Loading…
Reference in New Issue
Block a user