Skip to content

Commit

Permalink
use child count to track state of search results
Browse files Browse the repository at this point in the history
  • Loading branch information
cewert committed Oct 31, 2023
1 parent bd9a451 commit 034c485
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.searchSelect.itemdata <> invalid and m.searchSelect.itemdata.TotalRecordCount > 0
else if key = "right" and m.searchSelect.content <> invalid and m.searchSelect.content.getChildCount() > 0
m.searchSelect.setFocus(true)
return true
else if key = "play" and m.searchSelect.isinFocusChain() and m.searchSelect.rowItemFocused.count() > 0
Expand Down

0 comments on commit 034c485

Please sign in to comment.