(svn r13225) -Fix (r13041): Missing calls to FindWindowPlacementAndResize() from lots
of windows causing 'two stage' opening effect.
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user