From bd9a4516013c679e8d2d021dc3813d5c5eb1283a Mon Sep 17 00:00:00 2001 From: Charles Ewert Date: Tue, 31 Oct 2023 15:08:03 -0400 Subject: [PATCH] only quickplay on search page if search results are in focus --- 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 fe7545af..cebeff1e 100644 --- a/components/search/SearchResults.brs +++ b/components/search/SearchResults.brs @@ -60,7 +60,7 @@ function onKeyEvent(key as string, press as boolean) as boolean 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" and m.searchSelect.rowItemFocused.count() > 0 + else if key = "play" and m.searchSelect.isinFocusChain() and m.searchSelect.rowItemFocused.count() > 0 print "play was pressed from search results" if m.searchSelect.rowItemFocused <> invalid m.top.quickPlayNode = m.searchSelect.content.getChild(m.searchSelect.rowItemFocused[0]).getChild(m.searchSelect.rowItemFocused[1])