diff options
author | rubidium <rubidium@openttd.org> | 2009-02-08 15:45:34 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-02-08 15:45:34 +0000 |
commit | 412f93b877d650b911f2167018cd69e8e8a25d9b (patch) | |
tree | 1e36a2be5ddf63b800e78616aa7a9a247c017944 /src/bridge_gui.cpp | |
parent | 5429c5a095ba8a23fd5763692610c20ed2e6f7a8 (diff) | |
download | openttd-412f93b877d650b911f2167018cd69e8e8a25d9b.tar.xz |
(svn r15413) -Fix [FS#2529/2533]: inconsistencies between station and bridge building w.r.t. tile selection and when the window should be closed.
Diffstat (limited to 'src/bridge_gui.cpp')
-rw-r--r-- | src/bridge_gui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bridge_gui.cpp b/src/bridge_gui.cpp index 56e0c2e4a..4004934f2 100644 --- a/src/bridge_gui.cpp +++ b/src/bridge_gui.cpp @@ -124,6 +124,7 @@ public: type(br_type), bridges(bl) { + this->parent = FindWindowById(WC_BUILD_TOOLBAR, GB(this->type, 15, 2)); this->bridges->SetListing(this->last_sorting); this->bridges->SetSortFuncs(this->sorter_funcs); this->bridges->NeedResort(); |