changeset 4738:39579638b974 draft

(svn r6650) - Fix (r6619): Fix widget state setting of the rail toolbar when using hotkeys.
author peter1138 <peter1138@openttd.org>
date Thu, 05 Oct 2006 12:18:07 +0000
parents 6edb2bd98078
children 433fa2ea78b1
files rail_gui.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rail_gui.c
+++ b/rail_gui.c
@@ -446,7 +446,7 @@
 				e->we.keypress.cont = false;
 				_remove_button_clicked = false;
 				_build_railroad_button_proc[i](w);
-				UpdateRemoveWidgetStatus(w, i);
+				UpdateRemoveWidgetStatus(w, i + 4);
 				break;
 			}
 		}