summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStuart Morgan <smorgan@mythtv.org>2011-01-31 15:59:15 (GMT)
committer Stuart Morgan <smorgan@mythtv.org>2011-01-31 16:00:32 (GMT)
commit14bfdc34f080d3040d732399b347764241f1da6d (patch)
tree93cb7495abfaaba94fc5f33c57d98ca1b9e49880
parent61ba0b78c76815cba7819013c67a3609808e8693 (diff)
Fix recording item disappearing from list when the subtitle has been edited.
(cherry picked from commit 9590973b7869c67d68a51cb215f400dcd03f3729)
-rw-r--r--mythtv/programs/mythfrontend/playbackbox.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/mythtv/programs/mythfrontend/playbackbox.cpp b/mythtv/programs/mythfrontend/playbackbox.cpp
index 9e9b95f..f421f72 100644
--- a/mythtv/programs/mythfrontend/playbackbox.cpp
+++ b/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);