[Samples] Entry code cleanup
This commit is contained in:
parent
09c0ee598e
commit
5f76dca449
1 changed files with 1 additions and 6 deletions
|
@ -151,12 +151,7 @@ namespace Samples
|
|||
var o = model.GetValue(iter, 0);
|
||||
var searchString = o as string;
|
||||
if (!string.IsNullOrEmpty(searchString))
|
||||
{
|
||||
if (searchString.StartsWith(entry.Text, System.StringComparison.InvariantCultureIgnoreCase))
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
}
|
||||
return searchString.StartsWith(entry.Text, System.StringComparison.InvariantCultureIgnoreCase);
|
||||
|
||||
return true;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue