Skip to content

Commit

Permalink
use TotalRecordCount to check search results state
Browse files Browse the repository at this point in the history
  • Loading branch information
cewert committed Oct 29, 2023
1 parent 187a052 commit a942cb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/search/SearchResults.brs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit a942cb5

Please sign in to comment.