diff options
author | k-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-05-03 21:51:46 +0000 |
---|---|---|
committer | k-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-05-03 21:51:46 +0000 |
commit | 9db515c0d4c878f16405002a3c640939a237153e (patch) | |
tree | a8d6d330498c0f6647f598df4b7c815a40ddd59d /src | |
parent | cb9c992abfc5c003b020f97f1384bc7c0e346534 (diff) | |
download | usdx-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 'src')
-rw-r--r-- | src/screens/UScreenOptionsThemes.pas | 7 |
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); |