Permalink
Browse files

Fix reccount value for the Default group

  • Loading branch information...
1 parent f7b7f61 commit 4588c0e51d206127525954d1368af40d53a17083 @stuartm stuartm committed Feb 17, 2012
Showing with 5 additions and 4 deletions.
  1. +5 −4 mythtv/programs/mythfrontend/playbackbox.cpp
View
9 mythtv/programs/mythfrontend/playbackbox.cpp
@@ -1267,11 +1267,12 @@ void PlaybackBox::UpdateUIGroupList(const QStringList &groupPreferences)
m_currentGroup = groupname.toLower();
}
- if (groupname.isEmpty())
- groupname = m_groupDisplayName;
+ QString displayName = groupname;
+ if (displayName.isEmpty())
+ displayName = m_groupDisplayName;
- item->SetText(groupname, "name");
- item->SetText(groupname);
+ item->SetText(displayName, "name");
+ item->SetText(displayName);
int count = m_progLists[groupname.toLower()].size();
item->SetText(QString::number(count), "reccount");

0 comments on commit 4588c0e

Please sign in to comment.