Fix #24447: Refresh the shortcut window when changing language (#24478)

* Refresh the shortcut window when changing language

* Add changelog entry
This commit is contained in:
Harry Hopkinson authored and GitHub committed 2025-05-23 08:59:26 -03:00
1 parent c934280589
commit 4dbd3b6bbc
2 files changed
+6

No files matched your search

+1
View File
@@ -24,6 +24,7 @@
- Fix: [#24403] Park fences draw underneath and through opaque water.
- Fix: [#24406] The network status window uses an undefined string for its title.
- Fix: [#24444] In the object load error window, the guide text overlaps when the title bar is enlarged.
- Fix: [#24447] Shortcut list is not refreshed when changing language.
- Fix: [#24448] Shortcuts involving the Caps Lock key are wrongly localised to NumPad Dot.
- Fix: [#24464] Window and viewport visibility is not calculated correctly causing minor performance issues.
+5
View File
@@ -335,6 +335,11 @@ namespace OpenRCT2::Ui::Windows
}
}
void OnLanguageChange() override
{
InitialiseList();
}
void RefreshBindings()
{
InitialiseList();