Browse files

Fix recording item disappearing from list when the subtitle has been …

…edited.

(cherry picked from commit 9590973)
  • Loading branch information...
1 parent 61ba0b7 commit 14bfdc34f080d3040d732399b347764241f1da6d @stuartm stuartm committed Jan 31, 2011
Showing with 1 addition and 3 deletions.
  1. +1 −3 mythtv/programs/mythfrontend/playbackbox.cpp
View
4 mythtv/programs/mythfrontend/playbackbox.cpp
@@ -4591,7 +4591,7 @@ void PlaybackBox::saveRecMetadata(const QString &newTitle,
QString groupname = m_groupList->GetItemCurrent()->GetData().toString();
if (groupname == pginfo->GetTitle().toLower() &&
- newTitle != groupname)
+ newTitle != pginfo->GetTitle())
{
m_recordingList->RemoveItem(item);
}
@@ -4605,8 +4605,6 @@ void PlaybackBox::saveRecMetadata(const QString &newTitle,
item->SetText(tempSubTitle, "titlesubtitle");
item->SetText(newTitle, "title");
item->SetText(newSubtitle, "subtitle");
-
- UpdateUIListItem(item, true); // Why?
}
RecordingInfo ri(*pginfo);

0 comments on commit 14bfdc3

Please sign in to comment.