aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2006-10-08 19:54:52 +0000
committerJohannes Schickel2006-10-08 19:54:52 +0000
commitd24f0a7fbd9106b1fd3190d60f838fcfdf2f8309 (patch)
treedd4c189a157245d3723106d6a4f2919cce377d1b
parent97d9293476b4df337e1e25e68ca81ffd36002683 (diff)
downloadscummvm-rg350-d24f0a7fbd9106b1fd3190d60f838fcfdf2f8309.tar.gz
scummvm-rg350-d24f0a7fbd9106b1fd3190d60f838fcfdf2f8309.tar.bz2
scummvm-rg350-d24f0a7fbd9106b1fd3190d60f838fcfdf2f8309.zip
Now the 'gui_theme' setting saving works...
svn-id: r24230
-rw-r--r--gui/options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/options.cpp b/gui/options.cpp
index a1fb1af60e..73ed138ff8 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", Common::ConfigManager::kTransientDomain));
+ _curTheme = new StaticTextWidget(tab, "globaloptions_curtheme", ConfMan.get("gui_theme"));
// 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, Common::ConfigManager::kTransientDomain);
+ ConfMan.set("gui_theme", theme);
}
draw();
}