Change: do not disable NewGRF window apply button if dev tools are enabled (#8975)
enabled
This commit is contained in:

committed by
GitHub

parent
8a944c88c9
commit
47c0403320
@@ -1255,7 +1255,7 @@ struct NewGRFWindow : public Window, NewGRFScanCallback {
|
||||
|
||||
this->BuildAvailables();
|
||||
|
||||
this->SetWidgetDisabledState(WID_NS_APPLY_CHANGES, !this->editable || !this->modified);
|
||||
this->SetWidgetDisabledState(WID_NS_APPLY_CHANGES, !((this->editable && this->modified) || _settings_client.gui.newgrf_developer_tools));
|
||||
this->SetWidgetsDisabledState(!this->editable,
|
||||
WID_NS_PRESET_LIST,
|
||||
WID_NS_TOGGLE_PALETTE,
|
||||
|
Reference in New Issue
Block a user