mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Fixes to avoid exception with the ComboBox in All Views Tester.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user