diff options
author | frosch <frosch@openttd.org> | 2011-06-11 21:12:28 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-06-11 21:12:28 +0000 |
commit | 3f003c097730e8883d5db88cf30aff968c143f68 (patch) | |
tree | 06914c7ca78ba6a025e267737a8f8063b261e5bf /src/newgrf_gui.cpp | |
parent | d5e7537e14521481539a9da1745ce6a2790fcefa (diff) | |
download | openttd-3f003c097730e8883d5db88cf30aff968c143f68.tar.xz |
(svn r22553) -Fix (r22499): NewGRF parameter window was not set dirty, when changing row selection.
Diffstat (limited to 'src/newgrf_gui.cpp')
-rw-r--r-- | src/newgrf_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp index cc8413408..f91ef192e 100644 --- a/src/newgrf_gui.cpp +++ b/src/newgrf_gui.cpp @@ -344,13 +344,13 @@ struct NewGRFParametersWindow : public Window { this->clicked_button = num; this->timeout = 5; - this->SetDirty(); } } else if (par_info->type == PTYPE_UINT_ENUM && click_count >= 2) { /* Display a query box so users can enter a custom value. */ SetDParam(0, this->grf_config->param[num]); ShowQueryString(STR_JUST_INT, STR_CONFIG_SETTING_QUERY_CAPTION, 10, this, CS_NUMERAL, QSF_NONE); } + this->SetDirty(); break; } |