(svn r9117) -Fix: the (current) difficulty level button was not selected when opening the difficulty window.
authorrubidium
Sun, 11 Mar 2007 14:56:35 +0000
changeset 6619 96ed6dee2856
parent 6618 58bb544befa4
child 6620 5e52cf2b9091
(svn r9117) -Fix: the (current) difficulty level button was not selected when opening the difficulty window.
src/settings_gui.cpp
--- a/src/settings_gui.cpp	Sun Mar 11 14:38:52 2007 +0000
+++ b/src/settings_gui.cpp	Sun Mar 11 14:56:35 2007 +0000
@@ -392,6 +392,7 @@
 		SetWindowWidgetDisabledState(w,  6, _game_mode == GM_NORMAL);
 		SetWindowWidgetDisabledState(w,  7, _game_mode == GM_EDITOR || _networking); // highscore chart in multiplayer
 		SetWindowWidgetDisabledState(w, 10, _networking && !_network_server); // Save-button in multiplayer (and if client)
+		LowerWindowWidget(w, _opt_mod_temp.diff_level + 3);
 
 		break;
 	case WE_PAINT: {