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 15:59:15 (GMT)
commit9590973b7869c67d68a51cb215f400dcd03f3729 (patch)
treede80c83cb637817d81b84ea399c065c4844f844f
parentb25ec2ebee9bfebf7d148b03c70c6912635d91e4 (diff)
Fix recording item disappearing from list when the subtitle has been edited.
-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 de2c713..7c6b253 100644
--- a/mythtv/programs/mythfrontend/playbackbox.cpp
+++ b/mythtv/programs/mythfrontend/playbackbox.cpp
@@ -4607,7 +4607,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);
}
@@ -4621,8 +4621,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);