summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStuart Morgan <smorgan@mythtv.org>2012-02-10 14:42:23 (GMT)
committer Stuart Morgan <smorgan@mythtv.org>2012-02-10 14:43:16 (GMT)
commitab0cc30dae5b878959d8dfdaef05eae82383a2e9 (patch)
treed04e22f4541532ece7d6c4cb0d9ba895d1fcfabe
parenta7acb7b0e28c2373088be0cdd7f02088510e8e16 (diff)
Fix default selected value for the menu theme setting
(cherry picked from commit bf6ed4224f37a9008d5fe387bdafe1669221aca1)
-rw-r--r--mythtv/programs/mythfrontend/globalsettings.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/mythtv/programs/mythfrontend/globalsettings.cpp b/mythtv/programs/mythfrontend/globalsettings.cpp
index 0efe035..83e7fae 100644
--- a/mythtv/programs/mythfrontend/globalsettings.cpp
+++ b/mythtv/programs/mythfrontend/globalsettings.cpp
@@ -1872,7 +1872,8 @@ static HostComboBox *MenuTheme()
QList<ThemeInfo>::iterator it;
for( it = themelist.begin(); it != themelist.end(); ++it )
{
- gc->addSelection((*it).GetName(), (*it).GetDirectoryName());
+ gc->addSelection((*it).GetName(), (*it).GetDirectoryName(),
+ (*it).GetDirectoryName() == "defaultmenu");
}
return gc;