use TotalRecordCount to check search results state

This commit is contained in:
Charles Ewert 2023-10-29 15:22:03 -04:00
parent 187a0528ef
commit a942cb5efd

View File

@ -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"