(svn r6659) -Fix r6619: Fix widget state setting of the rail toolbar when using global hotkeys.

pull/155/head
glx 18 years ago
parent a9c3f8991a
commit 81e3101a01

@ -600,7 +600,10 @@ void ShowBuildRailToolbar(RailType railtype, int button)
}
_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();
}

Loading…
Cancel
Save