From 6011bd6cdc0d073b2dd5ef99dc89ce7e50f2a983 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Fri, 31 Oct 2003 07:43:26 +0000 Subject: Save the config file when options are changed. svn-id: r11014 --- sword2/controls.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sword2') diff --git a/sword2/controls.cpp b/sword2/controls.cpp index a7d46380d3..0d080010b8 100644 --- a/sword2/controls.cpp +++ b/sword2/controls.cpp @@ -1395,6 +1395,8 @@ void Gui::writeOptionSettings(void) { ConfMan.set("nosubtitles", !gui._subtitles); ConfMan.set("object_labels", gui._pointerTextSelected); ConfMan.set("reverse_stereo", gui._stereoReversed); + + ConfMan.flushToDisk(); } uint32 Gui::restoreControl(void) { -- cgit v1.2.3