Skip to content

Commit

Permalink
If we recieve an programinfo UPDATE event for a recording which isn't…
Browse files Browse the repository at this point in the history
… in our cache (maybe it's been deleted) then don't schedule a list update.
  • Loading branch information
stuartm committed Apr 13, 2012
1 parent f6537e5 commit 65f7da1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mythtv/programs/mythfrontend/playbackbox.cpp
Expand Up @@ -4254,7 +4254,8 @@ void PlaybackBox::HandleUpdateProgramInfoEvent(const ProgramInfo &evinfo)
QString old_recgroup = m_programInfoCache.GetRecGroup( QString old_recgroup = m_programInfoCache.GetRecGroup(
evinfo.GetChanID(), evinfo.GetRecordingStartTime()); evinfo.GetChanID(), evinfo.GetRecordingStartTime());


m_programInfoCache.Update(evinfo); if (!m_programInfoCache.Update(evinfo))
return;


// If the recording group has changed, reload lists from the recently // If the recording group has changed, reload lists from the recently
// updated cache; if not, only update UI for the updated item // updated cache; if not, only update UI for the updated item
Expand Down

0 comments on commit 65f7da1

Please sign in to comment.