Skip to content

Commit

Permalink
MythUI: On the PBB window, don't show 'Default' if the only other gro…
Browse files Browse the repository at this point in the history
…up is 'All'
  • Loading branch information
jpoet committed Jan 22, 2012
1 parent 12469b5 commit 9b652a7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mythtv/programs/mythfrontend/playbackbox.cpp
Expand Up @@ -1224,6 +1224,9 @@ void PlaybackBox::UpdateUIRecGroupList(void)
QString tmp = (key == "All Programs") ? "All" : key;
QString name = ProgramInfo::i18n(tmp);

if (m_recGroups.size() == 2 && key == "Default")
continue; // All and Default will be the same, so only show All

MythUIButtonListItem *item = new MythUIButtonListItem(
m_recgroupList, name, qVariantFromValue(key));

Expand Down

0 comments on commit 9b652a7

Please sign in to comment.