(svn r15413) -Fix [FS#2529/2533]: inconsistencies between station and bridge building w.r.t. tile selection and when the window should be closed.

This commit is contained in:
rubidium
2009-02-08 15:45:34 +00:00
parent 5429c5a095
commit 412f93b877
7 changed files with 10 additions and 26 deletions

View File

@@ -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();