forked from rosebudai/OpenRCT2-Web
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:
1 parent
09897ede9e
commit
da89a4e413
73 files changed
+15
-1021
No files matched your search
@@ -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