From a942cb5efd3d9cbe691be6ba541aaf0d7479b0e1 Mon Sep 17 00:00:00 2001 From: Charles Ewert Date: Sun, 29 Oct 2023 15:22:03 -0400 Subject: [PATCH] use TotalRecordCount to check search results state --- components/search/SearchResults.brs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/search/SearchResults.brs b/components/search/SearchResults.brs index 07ce4f9a..34ce62a7 100644 --- a/components/search/SearchResults.brs +++ b/components/search/SearchResults.brs @@ -57,7 +57,7 @@ function onKeyEvent(key as string, press as boolean) as boolean if key = "left" and m.searchSelect.isinFocusChain() m.searchAlphabox.setFocus(true) return true - else if key = "right" and m.searchHelpText.visible = false + else if key = "right" and m.searchSelect.itemdata <> invalid and m.searchSelect.itemdata.TotalRecordCount > 0 m.searchSelect.setFocus(true) return true else if key = "play"