(svn r17268) -Fix [FS#3143]: Station/Town window titles weren't updated when they got renamed

This commit is contained in:
rubidium
2009-08-22 20:28:30 +00:00
parent 6aa9ebd85a
commit 1cfc262fb0
2 changed files with 4 additions and 0 deletions

View File

@@ -426,6 +426,8 @@ void Station::UpdateVirtCoord()
SetDParam(0, this->index);
SetDParam(1, this->facilities);
this->sign.UpdatePosition(pt.x, pt.y, STR_VIEWPORT_STATION);
InvalidateWindow(WC_STATION_VIEW, this->index);
}
/** Update the virtual coords needed to draw the station sign for all stations. */