aboutsummaryrefslogtreecommitdiffstats
path: root/src/screens
diff options
context:
space:
mode:
authork-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-05-03 21:51:46 +0000
committerk-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-05-03 21:51:46 +0000
commit9db515c0d4c878f16405002a3c640939a237153e (patch)
treea8d6d330498c0f6647f598df4b7c815a40ddd59d /src/screens
parentcb9c992abfc5c003b020f97f1384bc7c0e346534 (diff)
downloadusdx-9db515c0d4c878f16405002a3c640939a237153e.tar.gz
usdx-9db515c0d4c878f16405002a3c640939a237153e.tar.xz
usdx-9db515c0d4c878f16405002a3c640939a237153e.zip
ESC saves again. revert 1183.
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2335 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--src/screens/UScreenOptionsThemes.pas7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/screens/UScreenOptionsThemes.pas b/src/screens/UScreenOptionsThemes.pas
index 591b0fb2..94475cc7 100644
--- a/src/screens/UScreenOptionsThemes.pas
+++ b/src/screens/UScreenOptionsThemes.pas
@@ -84,7 +84,12 @@ begin
SDLK_ESCAPE,
SDLK_BACKSPACE :
begin
- // Escape -> save nothing - just leave this screen
+ Ini.Save;
+
+ // Reload all screens, after Theme changed
+ // Todo : JB - Check if theme was actually changed
+ UGraphic.UnLoadScreens();
+ UGraphic.LoadScreens();
AudioPlayback.PlaySound(SoundLib.Back);
FadeTo(@ScreenOptions);