(svn r6659) -Fix r6619: Fix widget state setting of the rail toolbar when using global hotkeys.
--- a/rail_gui.c Thu Oct 05 23:24:16 2006 +0000
+++ b/rail_gui.c Thu Oct 05 23:38:40 2006 +0000
@@ -600,7 +600,10 @@
}
_remove_button_clicked = false;
- if (w != NULL && button >= 0) _build_railroad_button_proc[button](w);
+ if (w != NULL && button >= 0) {
+ _build_railroad_button_proc[button](w);
+ UpdateRemoveWidgetStatus(w, button + 4);
+ }
if (_patches.link_terraform_toolbar) ShowTerraformToolbar();
}