(svn r13225) -Fix (r13041): Missing calls to FindWindowPlacementAndResize() from lots

of windows causing 'two stage' opening effect.
This commit is contained in:
peter1138
2008-05-23 23:02:13 +00:00
parent 95c2307595
commit 6f233b1f8f
12 changed files with 28 additions and 2 deletions

View File

@@ -1401,6 +1401,8 @@ struct VehicleDetailsWindow : Window {
this->caption_color = v->owner;
this->tab = 0;
this->FindWindowPlacementAndResize(desc);
}
/** Checks whether service interval is enabled for the vehicle. */
@@ -1873,6 +1875,8 @@ struct VehicleViewWindow : Window {
default: NOT_REACHED();
}
this->FindWindowPlacementAndResize(desc);
}
~VehicleViewWindow()