mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 21:43:06 +01:00
Remove rct_window::enabled_widgets (#16643)
`enabled_widgets` was used to enable input for widgets. However I do not recall anywhere this being used to specifically disable a widget which doesn't use the dedicated `disabled_widgets` flag. I don't think there is any purpose in keeping this, so I have removed all uses of it.
This commit is contained in:
@@ -391,8 +391,6 @@ public:
|
||||
void OnOpen() override
|
||||
{
|
||||
widgets = window_object_load_error_widgets;
|
||||
enabled_widgets = (1ULL << WIDX_CLOSE) | (1ULL << WIDX_COPY_CURRENT) | (1ULL << WIDX_COPY_ALL)
|
||||
| (1ULL << WIDX_DOWNLOAD_ALL);
|
||||
|
||||
WindowInitScrollWidgets(this);
|
||||
colours[0] = COLOUR_LIGHT_BLUE;
|
||||
|
||||
Reference in New Issue
Block a user