Merge pull request #327 from neilsb/fix-channel-selection

Ensure currently selected channel in guide is used when "Watch" selected
This commit is contained in:
Anthony Lavado 2020-12-08 11:50:25 -05:00 committed by GitHub
commit 56af6e736d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -157,8 +157,7 @@ sub onWatchChannelSelected()
' Set focus back to grid before showing channel, to ensure grid has focus when we return
focusProgramDetails(false)
m.top.watchChannel = m.scheduleGrid.content.GetChild(m.LoadProgramDetailsTask.programDetails.channelIndex)
m.top.watchChannel = m.detailsPane.channel
end sub
' As user scrolls grid, check if more data requries to be loaded