mirror of https://github.com/OpenTTD/OpenTTD
Change: do not disable NewGRF window apply button if dev tools are enabled (#8975)
enabledpull/8997/head
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,
|
||||
|
|
Loading…
Reference in New Issue