Fixes to avoid exception with the ComboBox in All Views Tester.

This commit is contained in:
BDisp
2021-07-15 19:10:40 +01:00
parent 3c1fa5f2b1
commit d172f3f186

View File

@@ -450,6 +450,9 @@ namespace Terminal.Gui {
private void SetSearchSet ()
{
if (searchset == null) {
searchset = new List<object> ();
}
// force deep copy
foreach (var item in Source.ToList ()) {
searchset.Add (item);