Skip to content

Commit

Permalink
Fix reccount value for the Default group
Browse files Browse the repository at this point in the history
(cherry picked from commit 4588c0e)
  • Loading branch information
stuartm committed Feb 17, 2012
1 parent 074fb6e commit 9743d9c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions mythtv/programs/mythfrontend/playbackbox.cpp
Expand Up @@ -1193,11 +1193,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");
Expand Down

0 comments on commit 9743d9c

Please sign in to comment.