(svn r6650) - Fix (r6619): Fix widget state setting of the rail toolbar when using hotkeys.
authorpeter1138
Thu, 05 Oct 2006 12:18:07 +0000
changeset 4738 88248024964a
parent 4737 e38af7736681
child 4739 bd535b408617
(svn r6650) - Fix (r6619): Fix widget state setting of the rail toolbar when using hotkeys.
rail_gui.c
--- a/rail_gui.c	Thu Oct 05 11:26:59 2006 +0000
+++ b/rail_gui.c	Thu Oct 05 12:18:07 2006 +0000
@@ -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;
 			}
 		}