From c5354bdecca120323da69b3ebbebd51ce709cc8c Mon Sep 17 00:00:00 2001 From: maedhros Date: Mon, 16 Apr 2007 10:30:31 +0000 Subject: [PATCH] (svn r9647) -Fix (r6631) [FS#733]: Select "Custom" in the difficulty settings gui when changing a setting. (Frostregen) --- src/settings_gui.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp index 1917f06a92..3fcbcef700 100644 --- a/src/settings_gui.cpp +++ b/src/settings_gui.cpp @@ -500,7 +500,9 @@ static void GameDifficultyWndProc(Window *w, WindowEvent *e) // save value in temporary variable ((int*)&_opt_mod_temp.diff)[btn] = val; + RaiseWindowWidget(w, _opt_mod_temp.diff_level + 3); SetDifficultyLevel(3, &_opt_mod_temp); // set difficulty level to custom + LowerWindowWidget(w, _opt_mod_temp.diff_level + 3); SetWindowDirty(w); } break; case 3: case 4: case 5: case 6: /* Easy / Medium / Hard / Custom */