FS#1998 - Patch: Use ctrl key to keep the tunnel/bridge tool selected after building a tunnel/bridge

Attached to Project: OpenTTD
Opened by nablaa (nablaa) - Thursday, 08 May 2008, 07:57 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


If you want to build many tunnels/bridges in a row, you always need to click the tunnel/bridge tool again when building another tunnel/bridge.

This patch removes the unnecessary click by using ctrl key. If you hold down ctrl key while building a tunnel/bridge, the tunnel/bridge tool will stay selected.

The patch applies against trunk r13003.
This task depends upon

Closed by  Jean-Francois Claeys (Belugas)
Thursday, 03 July 2008, 17:21 GMT
Reason for closing:  Won't implement
Additional comments about closing:  reasons stated by peter and I
Comment by Peter Nelson (peter1138) - Thursday, 08 May 2008, 13:51 GMT
If you can hold Ctrl, why can't you press T or B to reselect the tool?
Comment by nablaa (nablaa) - Thursday, 08 May 2008, 18:06 GMT
I didn't know those hotkeys until now. Why aren't those hotkeys (and other hotkeys as well) displayed in tooltips?
Comment by Jean-Francois Claeys (Belugas) - Thursday, 08 May 2008, 18:28 GMT
A few reasons:

1) It would be a bit fastidious to put the said hot keys on each button/window that requires it.
2) They may not remain hardcoded as they are forever
3) The wiki holds the definition of those keys. Wiki is a bit the user manual of the program
Comment by Ammler (Ammler) - Thursday, 15 May 2008, 08:42 GMT
I would like that patch, maybe could also be used for the GRFList window?
(Peter, you might need to scroll down again...)

Edit:I tried this patch but wasn't able to use it, How does it work?