diff options
author | peter1138 <peter1138@openttd.org> | 2008-07-24 18:29:01 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-07-24 18:29:01 +0000 |
commit | b98deeb5cc36f2fd7b158d0ac0beda583c41ddd9 (patch) | |
tree | 400143a60907ae06428f166036205ae4a05baf09 | |
parent | 97eeb07201d4d4bddc11f6339fdc092ead655bb9 (diff) | |
download | openttd-b98deeb5cc36f2fd7b158d0ac0beda583c41ddd9.tar.xz |
(svn r13818) -Fix [FS#2157]: Deselect currently selected NewGRF when changing GRF preset.
-rw-r--r-- | src/newgrf_gui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp index 513431764..87a37e9b6 100644 --- a/src/newgrf_gui.cpp +++ b/src/newgrf_gui.cpp @@ -593,6 +593,7 @@ struct NewGRFWindow : public Window { } } + this->sel = NULL; this->SetupNewGRFWindow(); this->SetDirty(); } |