aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2006-10-08 19:28:15 +0000
committerJohannes Schickel2006-10-08 19:28:15 +0000
commitfa668d275fa091e3dbc749139d721e2d6d7add40 (patch)
tree9c6db7bed9a2046921bfcef3fb33ab1aef70be4b
parente11bfe5f495176156f9b3d2c855ce87cd35e9a3e (diff)
downloadscummvm-rg350-fa668d275fa091e3dbc749139d721e2d6d7add40.tar.gz
scummvm-rg350-fa668d275fa091e3dbc749139d721e2d6d7add40.tar.bz2
scummvm-rg350-fa668d275fa091e3dbc749139d721e2d6d7add40.zip
Display the correct theme name if it's specified with --gui-theme
svn-id: r24223
-rw-r--r--gui/options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/options.cpp b/gui/options.cpp
index 5afe669d35..a1fb1af60e 100644
--- a/gui/options.cpp
+++ b/gui/options.cpp
@@ -690,7 +690,7 @@ GlobalOptionsDialog::GlobalOptionsDialog()
tab->addTab("Misc");
new ButtonWidget(tab, "globaloptions_themebutton2", "Theme:", kChooseThemeCmd, 0);
- _curTheme = new StaticTextWidget(tab, "globaloptions_curtheme", ConfMan.get("gui_theme", _domain));
+ _curTheme = new StaticTextWidget(tab, "globaloptions_curtheme", ConfMan.get("gui_theme", Common::ConfigManager::kTransientDomain));
// TODO: joystick setting
@@ -812,7 +812,7 @@ void GlobalOptionsDialog::handleCommand(CommandSender *sender, uint32 cmd, uint3
if (0 != theme.compareToIgnoreCase(g_gui.theme()->getStylefileName()))
if (g_gui.loadNewTheme(theme)) {
_curTheme->setLabel(theme);
- ConfMan.set("gui_theme", theme, _domain);
+ ConfMan.set("gui_theme", theme, Common::ConfigManager::kTransientDomain);
}
draw();
}