mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 16:59:35 +01:00
* attempt to fix * Removed unneeded ToString() calls * Forced all unit tests to use FakeClipboard
This commit is contained in:
@@ -823,7 +823,7 @@ namespace Terminal.Gui {
|
||||
ResetSearchSet (noCopy: true);
|
||||
|
||||
foreach (var item in source.ToList ()) { // Iterate to preserver object type and force deep copy
|
||||
if (item.ToString ().StartsWith (search.Text.ToString (), StringComparison.CurrentCultureIgnoreCase)) {
|
||||
if (item.ToString ().StartsWith (search.Text, StringComparison.CurrentCultureIgnoreCase)) {
|
||||
searchset.Add (item);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user