mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-04 21:33:51 +00:00
(svn r6659) -Fix r6619: Fix widget state setting of the rail toolbar when using global hotkeys.
This commit is contained in:
parent
0e8ddd233e
commit
2489117e01
@ -600,7 +600,10 @@ void ShowBuildRailToolbar(RailType railtype, int button)
|
|||||||
}
|
}
|
||||||
|
|
||||||
_remove_button_clicked = false;
|
_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();
|
if (_patches.link_terraform_toolbar) ShowTerraformToolbar();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user