FS#733 - Difficulty Settings: Buttons do not get Lowered/Raised correctlx

Attached to Project: OpenTTD
Opened by Frostregen (Frostregen) - Sunday, 15 April 2007, 22:51 GMT
Type Bug
Category Interface
Status Closed
Assigned To No-one
Operating System All
Severity Very Low
Priority Normal
Reported Version 0.5.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


In Difficulty Settings window:
->Select easy OR medium OR hard
->Change the value of any specific difficulty item
The easy/medium/hard button stays pressed, the custom un-pressed.

The difficulty setting gets changed internally,
but the button-states are not set appropriately.

I noticed this in 0.5.1_rc2, but Maedhros stated it is in trunk too.
This task depends upon

Closed by  Jonathan Coome (Maedhros)
Monday, 16 April 2007, 10:31 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in r9647, and will be backported to 0.5.1-RC3. Thanks for the patch!
Comment by Frostregen (Frostregen) - Sunday, 15 April 2007, 23:12 GMT
Here is a patch for 0.5.1_rc2.
Just 2 lines need to surround the SetDifficulty(...) function.
(Like 4 lines below)