mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2025-01-22 18:31:59 -05:00
Fix #15451: Guest List name filter remains after group selection
This commit is contained in:
parent
22ae9e8dc2
commit
e8b6e24498
2 changed files with 9 additions and 2 deletions
|
@ -28,6 +28,7 @@
|
|||
- Fix: [#15255] Tile Inspector shows banner information on walls that do not contain one.
|
||||
- Fix: [#15257] Chat icon shows in scenario/track editor. Other icons don't disable when deactivated in options menu.
|
||||
- Fix: [#15289] Unexpected behavior with duplicated banners which also caused desyncs in multiplayer.
|
||||
- Fix: [#15451] Guest list name filter remains after group selection.
|
||||
- Fix: [#15476] Crash when placing/clearing small scenery.
|
||||
- Fix: [#15487] Map animations do not work correctly when loading an exported SV6 file in vanilla RCT2.
|
||||
- Fix: [#15496] Crash in paint_swinging_inverter_ship_structure().
|
||||
|
|
|
@ -321,8 +321,13 @@ public:
|
|||
_selectedPage = 0;
|
||||
_numPages = 1;
|
||||
widgets[WIDX_TRACKING].type = WindowWidgetType::Empty;
|
||||
widgets[WIDX_FILTER_BY_NAME].type = WindowWidgetType::Empty;
|
||||
if (_selectedTab == TabId::Individual)
|
||||
if (_selectedTab == TabId::Summarised)
|
||||
{
|
||||
widgets[WIDX_FILTER_BY_NAME].type = WindowWidgetType::Empty;
|
||||
SetWidgetPressed(WIDX_FILTER_BY_NAME, false);
|
||||
_filterName.clear();
|
||||
}
|
||||
else if (_selectedTab == TabId::Individual)
|
||||
{
|
||||
widgets[WIDX_TRACKING].type = WindowWidgetType::FlatBtn;
|
||||
widgets[WIDX_FILTER_BY_NAME].type = WindowWidgetType::FlatBtn;
|
||||
|
@ -576,6 +581,7 @@ public:
|
|||
_selectedTab = TabId::Individual;
|
||||
widgets[WIDX_TRACKING].type = WindowWidgetType::FlatBtn;
|
||||
Invalidate();
|
||||
widgets[WIDX_FILTER_BY_NAME].type = WindowWidgetType::FlatBtn;
|
||||
scrolls[0].v_top = 0;
|
||||
RefreshList();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue