diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/newgrf_gui.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp index 2b94aad0e..516b5dbda 100644 --- a/src/newgrf_gui.cpp +++ b/src/newgrf_gui.cpp @@ -900,6 +900,9 @@ struct NewGRFWindow : public QueryStringBaseWindow { { if (str == NULL) return; + SaveGRFPresetToConfig(str, this->actives); + GetGRFPresetList(&_grf_preset_list); + /* Switch to this preset */ for (uint i = 0; i < _grf_preset_list.Length(); i++) { if (_grf_preset_list[i] != NULL && strcmp(_grf_preset_list[i], str) == 0) { |