# HG changeset patch # User peter1138 # Date 2008-07-24 18:29:01 # Node ID dfd86aae13732a11217aaaf95a35826ebc98ef3a # Parent bfaea820fe12682271cd6e92625eeda5ee76b3dd (svn r13818) -Fix [FS#2157]: Deselect currently selected NewGRF when changing GRF preset. diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp --- 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(); }