OpenTTD

Tasklist

FS#4791 - Fix deletion of last joined server

Attached to Project: OpenTTD
Opened by Matt D. (monoid) - Sunday, 02 October 2011, 14:58 GMT
Last edited by Ingo von Borstel (planetmaker) - Friday, 07 October 2011, 08:18 GMT
Type Patch
Category Interface
Status Closed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

When the last joined server is deleted in the network GUI by selecting it (via the server list or its widget at the bottom of the window), the window's last_joined variable is not correctly updated. This leads to display of an invalid game item as the last joined server. This patch fixes that.

It then stops the last joined server game item from being recreated after it was deleted if the user clicks on the last joined server widget.
This task depends upon

Closed by  Ingo von Borstel (planetmaker)
Friday, 07 October 2011, 08:18 GMT
Reason for closing:  Fixed
Additional comments about closing:  In r23011. Thanks for the patch.
Comment by Matt D. (monoid) - Sunday, 02 October 2011, 14:59 GMT
Those details should read, "When the last joined server is deleted in the network GUI by selecting it (via the server list or its widget at the bottom of the window) *and pressing the delete key*,"

Loading...