Code comments

This commit is contained in:
Jimi 2022-08-24 21:42:09 -06:00
parent fb071641ae
commit 1e712614e6

View File

@ -106,11 +106,14 @@ end sub
sub onProgramFocused()
m.top.watchChannel = invalid
' Make sure we have channels (i.e. filter set to favorite yet there are none)
if m.scheduleGrid.content.getChildCount() <= 0
channel = invalid
else
channel = m.scheduleGrid.content.GetChild(m.scheduleGrid.programFocusedDetails.focusChannelIndex)
end if
m.detailsPane.channel = channel
m.top.focusedChannel = channel