mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r6659) -Fix r6619: Fix widget state setting of the rail toolbar when using global hotkeys.
This commit is contained in:
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…
Reference in New Issue
Block a user