Permalink
Browse files

If we recieve an programinfo UPDATE event for a recording which isn't…

… in our cache (maybe it's been deleted) then don't schedule a list update.
  • Loading branch information...
stuartm committed Apr 12, 2012
1 parent f6537e5 commit 65f7da13c0cc96fa9c3dca59a6149e66af910f56
Showing with 2 additions and 1 deletion.
  1. +2 −1 mythtv/programs/mythfrontend/playbackbox.cpp
@@ -4254,7 +4254,8 @@ void PlaybackBox::HandleUpdateProgramInfoEvent(const ProgramInfo &evinfo)
QString old_recgroup = m_programInfoCache.GetRecGroup(
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
// updated cache; if not, only update UI for the updated item

0 comments on commit 65f7da1

Please sign in to comment.