only quickplay on search page if search results are in focus
This commit is contained in:
parent
c0f2b7fc0a
commit
bd9a451601
|
@ -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])
|
||||
|
|
Loading…
Reference in New Issue
Block a user