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:42:23 (GMT)
commitbf6ed4224f37a9008d5fe387bdafe1669221aca1 (patch)
treee0ba650aa07bda2c3474e70ca8c5f871fdda0840
parentf76910875f4b2d3ce0f79fc025c3eaa225a2df83 (diff)
Fix default selected value for the menu theme setting
-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 862bcf0..fc500d7 100644
--- a/mythtv/programs/mythfrontend/globalsettings.cpp
+++ b/mythtv/programs/mythfrontend/globalsettings.cpp
@@ -1324,7 +1324,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;