diff options
author | frosch <frosch@openttd.org> | 2011-02-22 20:28:24 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-02-22 20:28:24 +0000 |
commit | ee111ce1a4cffff6d6efaaec430614d2fc736dd5 (patch) | |
tree | 4a68ed57e2cf7ef160e32e967c5464724e590d80 /src | |
parent | 4860eff98c5201877188cddd34aea395b2ba2072 (diff) | |
download | openttd-ee111ce1a4cffff6d6efaaec430614d2fc736dd5.tar.xz |
(svn r22128) -Fix [FS#4530]: Build-station-window showed wrong selection when reopening. (Regiovogel)
Diffstat (limited to 'src')
-rw-r--r-- | src/rail_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rail_gui.cpp b/src/rail_gui.cpp index 4503a29f2..2b391218b 100644 --- a/src/rail_gui.cpp +++ b/src/rail_gui.cpp @@ -1004,7 +1004,7 @@ public: NWidgetMatrix *matrix = this->GetWidget<NWidgetMatrix>(BRSW_MATRIX); matrix->SetScrollbar(this->vscroll2); matrix->SetCount(_railstation.station_count); - matrix->SetClicked(0); + matrix->SetClicked(_railstation.station_type); } } |