From b98deeb5cc36f2fd7b158d0ac0beda583c41ddd9 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Thu, 24 Jul 2008 18:29:01 +0000 Subject: [PATCH] (svn r13818) -Fix [FS#2157]: Deselect currently selected NewGRF when changing GRF preset. --- src/newgrf_gui.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp index 5134317646..87a37e9b61 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(); }