From 63abc5f7cfa815107861e9480efecbf945995cc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20K=C3=BCpper?= Date: Thu, 31 Aug 2017 22:10:04 +0200 Subject: [PATCH] Fixed not saving config when jumping directly to songs --- Vocaluxe/Screens/CScreenOptionsGame.cs | 1 + Vocaluxe/Screens/CScreenOptionsLyrics.cs | 1 + Vocaluxe/Screens/CScreenOptionsRecord.cs | 1 + Vocaluxe/Screens/CScreenOptionsSound.cs | 1 + Vocaluxe/Screens/CScreenOptionsTheme.cs | 1 + Vocaluxe/Screens/CScreenOptionsVideo.cs | 1 + Vocaluxe/Screens/CScreenOptionsVideoAdjustments.cs | 1 + 7 files changed, 7 insertions(+) diff --git a/Vocaluxe/Screens/CScreenOptionsGame.cs b/Vocaluxe/Screens/CScreenOptionsGame.cs index 485ce2b0..72a7d4e6 100644 --- a/Vocaluxe/Screens/CScreenOptionsGame.cs +++ b/Vocaluxe/Screens/CScreenOptionsGame.cs @@ -80,6 +80,7 @@ namespace Vocaluxe.Screens case Keys.S: CParty.SetNormalGameMode(); + _SaveConfig(); CGraphics.FadeTo(EScreen.Song); break; diff --git a/Vocaluxe/Screens/CScreenOptionsLyrics.cs b/Vocaluxe/Screens/CScreenOptionsLyrics.cs index da4a608d..49c68929 100644 --- a/Vocaluxe/Screens/CScreenOptionsLyrics.cs +++ b/Vocaluxe/Screens/CScreenOptionsLyrics.cs @@ -67,6 +67,7 @@ namespace Vocaluxe.Screens case Keys.S: CParty.SetNormalGameMode(); + _SaveConfig(); CGraphics.FadeTo(EScreen.Song); break; diff --git a/Vocaluxe/Screens/CScreenOptionsRecord.cs b/Vocaluxe/Screens/CScreenOptionsRecord.cs index da838eda..bac267a9 100644 --- a/Vocaluxe/Screens/CScreenOptionsRecord.cs +++ b/Vocaluxe/Screens/CScreenOptionsRecord.cs @@ -112,6 +112,7 @@ namespace Vocaluxe.Screens case Keys.S: CParty.SetNormalGameMode(); + _SaveMicConfig(); CGraphics.FadeTo(EScreen.Song); break; diff --git a/Vocaluxe/Screens/CScreenOptionsSound.cs b/Vocaluxe/Screens/CScreenOptionsSound.cs index c3d47d1f..cf6afcec 100644 --- a/Vocaluxe/Screens/CScreenOptionsSound.cs +++ b/Vocaluxe/Screens/CScreenOptionsSound.cs @@ -89,6 +89,7 @@ namespace Vocaluxe.Screens case Keys.S: CParty.SetNormalGameMode(); + _SaveConfig(); CGraphics.FadeTo(EScreen.Song); break; diff --git a/Vocaluxe/Screens/CScreenOptionsTheme.cs b/Vocaluxe/Screens/CScreenOptionsTheme.cs index 6723a305..7beb9a15 100644 --- a/Vocaluxe/Screens/CScreenOptionsTheme.cs +++ b/Vocaluxe/Screens/CScreenOptionsTheme.cs @@ -92,6 +92,7 @@ namespace Vocaluxe.Screens case Keys.S: CParty.SetNormalGameMode(); + _SaveConfig(); CGraphics.FadeTo(EScreen.Song); break; diff --git a/Vocaluxe/Screens/CScreenOptionsVideo.cs b/Vocaluxe/Screens/CScreenOptionsVideo.cs index d8ff7710..8c33e722 100644 --- a/Vocaluxe/Screens/CScreenOptionsVideo.cs +++ b/Vocaluxe/Screens/CScreenOptionsVideo.cs @@ -95,6 +95,7 @@ namespace Vocaluxe.Screens case Keys.S: CParty.SetNormalGameMode(); + _SaveConfig(); CGraphics.FadeTo(EScreen.Song); break; diff --git a/Vocaluxe/Screens/CScreenOptionsVideoAdjustments.cs b/Vocaluxe/Screens/CScreenOptionsVideoAdjustments.cs index 0ad53c54..b030b14e 100644 --- a/Vocaluxe/Screens/CScreenOptionsVideoAdjustments.cs +++ b/Vocaluxe/Screens/CScreenOptionsVideoAdjustments.cs @@ -56,6 +56,7 @@ namespace Vocaluxe.Screens case Keys.S: CParty.SetNormalGameMode(); + _SaveConfig(); CGraphics.FadeTo(EScreen.Song); break;