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() sub onProgramFocused()
m.top.watchChannel = invalid 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 if m.scheduleGrid.content.getChildCount() <= 0
channel = invalid channel = invalid
else else
channel = m.scheduleGrid.content.GetChild(m.scheduleGrid.programFocusedDetails.focusChannelIndex) channel = m.scheduleGrid.content.GetChild(m.scheduleGrid.programFocusedDetails.focusChannelIndex)
end if end if
m.detailsPane.channel = channel m.detailsPane.channel = channel
m.top.focusedChannel = channel m.top.focusedChannel = channel