Adds fake directory to MockVC with full features

This commit is contained in:
Neil Dorin
2019-03-08 16:56:37 -07:00
parent 3a99c3bb30
commit 2121456d50
3 changed files with 17 additions and 7 deletions

View File

@@ -1065,12 +1065,19 @@ namespace PepperDash.Essentials.UIDrivers.VC
/// </summary>
void SearchKeypadClear()
{
SearchStringBuilder.Remove(0, SearchStringBuilder.Length);
SearchStringFeedback.FireUpdate();
SearchStringKeypadCheckEnables();
try
{
SearchStringBuilder.Remove(0, SearchStringBuilder.Length);
SearchStringFeedback.FireUpdate();
SearchStringKeypadCheckEnables();
if((Codec as IHasDirectory).CurrentDirectoryResultIsNotDirectoryRoot.BoolValue)
SetCurrentDirectoryToRoot();
if ((Codec as IHasDirectory).CurrentDirectoryResultIsNotDirectoryRoot.BoolValue)
SetCurrentDirectoryToRoot();
}
catch (Exception e)
{
Debug.Console(1, "SearchKeypadClear() blew up!: {0}", e);
}
}
/// <summary>