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 | c0ef9a4ab863e816b2e4ba1ee6dd27416c6ec152 (patch) | |
tree | 400143a60907ae06428f166036205ae4a05baf09 /src/newgrf_gui.cpp | |
parent | c4c20c324f8632a37625fb20e30aa079b72ea00f (diff) | |
download | openttd-c0ef9a4ab863e816b2e4ba1ee6dd27416c6ec152.tar.xz |
(svn r13818) -Fix [FS#2157]: Deselect currently selected NewGRF when changing GRF preset.
Diffstat (limited to 'src/newgrf_gui.cpp')
-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(); } |