From b98deeb5cc36f2fd7b158d0ac0beda583c41ddd9 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Thu, 24 Jul 2008 18:29:01 +0000 Subject: (svn r13818) -Fix [FS#2157]: Deselect currently selected NewGRF when changing GRF preset. --- src/newgrf_gui.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/newgrf_gui.cpp') 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(); } -- cgit v1.2.3-54-g00ecf