aboutsummaryrefslogtreecommitdiff
path: root/gui/options.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2006-10-08 19:24:31 +0000
committerJohannes Schickel2006-10-08 19:24:31 +0000
commite11bfe5f495176156f9b3d2c855ce87cd35e9a3e (patch)
treeac266cc55241e65be7f556292074e9b1d3effe52 /gui/options.cpp
parent4e22b8262a7db51a3926682f36c45b850a387670 (diff)
downloadscummvm-rg350-e11bfe5f495176156f9b3d2c855ce87cd35e9a3e.tar.gz
scummvm-rg350-e11bfe5f495176156f9b3d2c855ce87cd35e9a3e.tar.bz2
scummvm-rg350-e11bfe5f495176156f9b3d2c855ce87cd35e9a3e.zip
- reworked my commit for r24216, not 'Classic (Builtin)' uses the builtin classic theme and classic uses the classic.ini file
- save the chosen theme now svn-id: r24222
Diffstat (limited to 'gui/options.cpp')
-rw-r--r--gui/options.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/gui/options.cpp b/gui/options.cpp
index 007ef48f07..5afe669d35 100644
--- a/gui/options.cpp
+++ b/gui/options.cpp
@@ -810,8 +810,10 @@ void GlobalOptionsDialog::handleCommand(CommandSender *sender, uint32 cmd, uint3
// User made his choice...
Common::String theme = browser.selected();
if (0 != theme.compareToIgnoreCase(g_gui.theme()->getStylefileName()))
- if (g_gui.loadNewTheme(theme))
+ if (g_gui.loadNewTheme(theme)) {
_curTheme->setLabel(theme);
+ ConfMan.set("gui_theme", theme, _domain);
+ }
draw();
}
break;